compile_teach_it: compile_teach_it

View source: R/compile_teach_it.R

compile_teach_itR Documentation

compile_teach_it

Description

Compile Teaching Materials from a project's 'teach-it.gsheet'. Also renames folders based on info in the Titles tab and invokes sweep_teaching_materials() to relocate scrap working files.

Usage

compile_teach_it(
  WD = "?",
  teach_it_drib = NULL,
  rename_lessons = TRUE,
  prompt_rename = FALSE
)

Arguments

WD

is working directory of the project; easiest way to supply a different lesson is with "?", which will invoke parse_wd(); default is WD=getwd()

teach_it_drib

if you already have the teach-it.gsheet dribble looked up from drive_find_path(), passing this object can can save some time; default = NULL

rename_lessons

logical; do you want to rename lesson folders based on Titles tab? default= T takes about 2sec to check if nothing needs changing; uses helper function zrename_lessons()

prompt_rename

logical, do you want to prompt user about whether to rename lessons? default=FALSE

Value

tibble of the compiled standards data; a JSON is saved to meta/JSON/teaching-materials.json


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