zrename_lessons: zrename_lessons

zrename_lessonsR Documentation

zrename_lessons

Description

Helper function for compile_teach_it(). Renames lesson folders based on information found in the project teach_it_*.gsheet!Titles.

Usage

zrename_lessons(uinfo, tmID, prompt_rename = TRUE)

Arguments

uinfo

pinfo object passed from compile_teach_it()

tmID

Google Drive ID for the folder where we'll find teaching materials. Depends on PublicationStatus. If it's "Draft", teaching-materials/ is found on GP-Studio; if "Live", it'll be on GalacticPolymath/ and view only

prompt_rename

logical, do you want to promput user about whether to rename lessons? default=T

Value

logical of success of renaming; NA if nothing to change or no valid pinfo


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