lesson_new_locale: Make a new locale version of existing lesson

View source: R/lesson_new_locale.R

lesson_new_localeR Documentation

Make a new locale version of existing lesson

Description

This function will:

  1. ask user to specify locale

  2. clone a lesson found on GitHub

  3. fill in missing files in the Google Drive folder

Usage

lesson_new_locale(
  WD = "?",
  new_proj_name = NULL,
  repair = FALSE,
  exclude_TEST = TRUE,
  verbosity = 1
)

Arguments

WD

the name of the project as it is on GitHub and Google Drive

new_proj_name

the name of the new locale variant you want to create. Default=NULL will launch a locale picker app.

repair

logical; if you had failures during initial locale cloning, should we try to do the steps that failed?

exclude_TEST

default=T; excludes test repositories

verbosity

passed to httr2::req_perform(); default=1

Value

overall success; prints summary tibble


galacticpolymath/GPpub documentation built on April 5, 2025, 6:04 p.m.