sweep_teaching_materials: sweep_teaching_materials

sweep_teaching_materialsR Documentation

sweep_teaching_materials

Description

Move anything extra that doesn't belong in /teaching-materials into a /teaching-materials_scraps folder. This function gets called by compile_teach_it() to remove anything we don't want to be public-facing in the /GalacticPolymath/ shared folder. Uses virtual file tools, so should be quite efficient.

Usage

sweep_teaching_materials(WD = get_wd())

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()

return

NULL

Details

The search patterns for sweeping are:

  • anything that has 'scrap' in the name


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