lesson_go_draft: lesson_go_draft

lesson_go_draftR Documentation

lesson_go_draft

Description

Unstage a lesson (i.e. remove public access and make it editable again). Does the following:

  1. Move lesson project directory from GP-LIVE to GP-Studio (Making it editable to those with access to GP-Studio)

  2. Move lesson teaching-materials from GalacticPolymath Shared Drive

  3. Rename from "MediumTitle" in public folder back to "teaching-materials"

  4. Make the following updates to front-matter:

    • PublicationStatus: 'Draft'

    • GdriveHome: 'GP-Studio'

    • GdrivePublicID: NA

Usage

lesson_go_draft(WD = "?")

Arguments

WD

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


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