diff --git a/articles/data-flow.html b/articles/data-flow.html index 7525f84a2..f1943b6be 100644 --- a/articles/data-flow.html +++ b/articles/data-flow.html @@ -389,7 +389,7 @@

Example rstudio = TRUE, open = FALSE, rmd = FALSE) # add a new episode create_episode_md(title = "First Example", add = TRUE, path = lsn, open = FALSE) -## /tmp/RtmptJVhnj/file2ae874ccb80e/episodes/first-example.md +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/episodes/first-example.md

Within {sandpaper}, there are environments that contain metadata related to the whole lesson called .store, .resources, instructor_globals, @@ -447,12 +447,12 @@

Example## ── Validating Fenced Divs ────────────────────────────────────────────── ## ── Validating Internal Links and Images ──────────────────────────────── ## user system elapsed -## 0.377 0.004 0.381 +## 0.351 0.020 0.371 system.time(validate_lesson(lsn)) ## ── Validating Fenced Divs ────────────────────────────────────────────── ## ── Validating Internal Links and Images ──────────────────────────────── ## user system elapsed -## 0.104 0.004 0.108 +## 0.108 0.004 0.111

The validate_lesson() call will pull from the cache in .store if it exists and is valid (which means that nothing in git has changed). If it’s not valid or does not exist, then all of @@ -513,7 +513,7 @@

Lesson Storage## load_built: function () ## n_problems: active binding ## overview: FALSE -## path: /tmp/RtmptJVhnj/file2ae874ccb80e +## path: /tmp/RtmpZ4IrTM/file2d0a29e1d039 ## reset: function () ## rmd: FALSE ## sandpaper: TRUE @@ -539,7 +539,7 @@

Lesson Storage
 set_config(c(handout = TRUE), path = lsn, write = TRUE, create = TRUE)
-##  Writing to /tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml
+##  Writing to /tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml
 ## → NA -> handout: true
 snd$.store$valid(lsn)
 ## [1] FALSE
@@ -565,7 +565,7 @@ 

Metadata## [1] "An Example Lesson" ## ## $created -## [1] "2024-07-29" +## [1] "2024-08-06" ## ## $keywords ## [1] "software, data, lesson, The Carpentries" @@ -577,7 +577,7 @@

Metadata## [1] "CC-BY 4.0" ## ## $source -## [1] "https://github.com/carpentries/file2ae874ccb80e" +## [1] "https://github.com/carpentries/file2d0a29e1d039" ## ## $branch ## [1] "main" @@ -613,17 +613,17 @@

Metadata## ## $date ## $date$created -## [1] "2024-07-29" +## [1] "2024-08-06" ## ## $date$modified -## [1] "2024-07-29" +## [1] "2024-08-06" ## ## $date$published -## [1] "2024-07-29" +## [1] "2024-08-06" ## ## ## $url -## [1] "https://carpentries.github.io/file2ae874ccb80e/" +## [1] "https://carpentries.github.io/file2d0a29e1d039/" ## ## $citation ## [1] "CITATION.cff" @@ -641,18 +641,18 @@

Metadata## { ## "@context": "https://schema.org", ## "@type": "TrainingMaterial", -## "@id": "https://carpentries.github.io/file2ae874ccb80e/index.html", +## "@id": "https://carpentries.github.io/file2d0a29e1d039/index.html", ## "inLanguage": "en", ## "dct:conformsTo": "https://bioschemas.org/profiles/TrainingMaterial/1.0-RELEASE", ## "description": "A Carpentries Lesson teaching foundational data and coding skills to researchers worldwide", ## "keywords": "software, data, lesson, The Carpentries", ## "name": "An Example Lesson", ## "creativeWorkStatus": "active", -## "url": "https://carpentries.github.io/file2ae874ccb80e/index.html", -## "identifier": "https://carpentries.github.io/file2ae874ccb80e/index.html", -## "dateCreated": "2024-07-29", -## "dateModified": "2024-07-29", -## "datePublished": "2024-07-29" +## "url": "https://carpentries.github.io/file2d0a29e1d039/index.html", +## "identifier": "https://carpentries.github.io/file2d0a29e1d039/index.html", +## "dateCreated": "2024-08-06", +## "dateModified": "2024-08-06", +## "datePublished": "2024-08-06" ## }

@@ -665,40 +665,40 @@

Lesson Resources (files)snd <- asNamespace("sandpaper") snd$.resources$get() ## $. -## /tmp/RtmptJVhnj/file2ae874ccb80e/CODE_OF_CONDUCT.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/CODE_OF_CONDUCT.md" -## /tmp/RtmptJVhnj/file2ae874ccb80e/LICENSE.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/LICENSE.md" -## /tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml -## "/tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml" -## /tmp/RtmptJVhnj/file2ae874ccb80e/index.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/index.md" -## /tmp/RtmptJVhnj/file2ae874ccb80e/links.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/links.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/CODE_OF_CONDUCT.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/CODE_OF_CONDUCT.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/LICENSE.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/LICENSE.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/index.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/index.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/links.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/links.md" ## ## $episodes -## /tmp/RtmptJVhnj/file2ae874ccb80e/episodes/introduction.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/episodes/introduction.md" -## /tmp/RtmptJVhnj/file2ae874ccb80e/episodes/first-example.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/episodes/first-example.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/episodes/introduction.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/episodes/introduction.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/episodes/first-example.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/episodes/first-example.md" ## ## $instructors -## /tmp/RtmptJVhnj/file2ae874ccb80e/instructors/instructor-notes.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/instructors/instructor-notes.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/instructors/instructor-notes.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/instructors/instructor-notes.md" ## ## $learners -## /tmp/RtmptJVhnj/file2ae874ccb80e/learners/reference.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/learners/reference.md" -## /tmp/RtmptJVhnj/file2ae874ccb80e/learners/setup.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/learners/setup.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/learners/reference.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/learners/reference.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/learners/setup.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/learners/setup.md" ## ## $profiles -## /tmp/RtmptJVhnj/file2ae874ccb80e/profiles/learner-profiles.md -## "/tmp/RtmptJVhnj/file2ae874ccb80e/profiles/learner-profiles.md" +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/profiles/learner-profiles.md +## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/profiles/learner-profiles.md" ## ## $`renv/profiles/lesson-requirements` ## -## "/tmp/RtmptJVhnj/file2ae874ccb80e/renv/profiles/lesson-requirements/renv.lock"

+## "/tmp/RtmpZ4IrTM/file2d0a29e1d039/renv/profiles/lesson-requirements/renv.lock"

Global and Local Variables @@ -1258,7 +1258,7 @@

Translations
 snd <- asNamespace("sandpaper")
 snd$set_config(c(lang = "es"), path = lsn, create = TRUE, write = TRUE)
-##  Writing to /tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml
+##  Writing to /tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml
 ## → NA -> lang: 'es'
 snd$this_lesson(lsn)
 whisker::whisker.render("Edit this page: {{ translate.EditThisPage }}",
@@ -1271,7 +1271,7 @@ 

Translations
 snd$set_config(c(lang = "en"), path = lsn, create = TRUE, write = TRUE)
-##  Writing to /tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml
+##  Writing to /tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml
 ## → lang: 'es' -> lang: 'en'
 snd$this_lesson(lsn)
 whisker::whisker.render("Edit this page: {{ translate.EditThisPage }}",
@@ -1667,7 +1667,7 @@ 

pkgdown metadatasite/_pkgdown.yaml.

# ------------------------------------------------------------------ information
 # This file was generated by sandpaper version '0.16.5'
-# If you want to make changes, please edit '/tmp/RtmptJVhnj/file2ae874ccb80e/config.yaml'
+# If you want to make changes, please edit '/tmp/RtmpZ4IrTM/file2d0a29e1d039/config.yaml'
 # ------------------------------------------------------------------ information
 
 title: An Example Lesson
@@ -1679,8 +1679,8 @@ 

pkgdown metadatatemplate: package: varnish params: - time: 2024-07-29 20:23:00 +0000 - source: https://github.com/carpentries/file2ae874ccb80e + time: 2024-08-06 17:29:39 +0000 + source: https://github.com/carpentries/file2d0a29e1d039 branch: main contact: team@carpentries.org license: CC-BY 4.0 @@ -1699,7 +1699,7 @@

pkgdown metadata stable: no doi: ~ title: An Example Lesson - created: '2024-07-29' + created: '2024-08-06' keywords: software, data, lesson, The Carpentries episodes: ~ learners: ~ @@ -1735,10 +1735,10 @@

pkgdown metadata## [1] "en" ## ## $src_path -## /tmp/RtmptJVhnj/file2ae874ccb80e/site +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/site ## ## $dst_path -## /tmp/RtmptJVhnj/file2ae874ccb80e/site/docs +## /tmp/RtmpZ4IrTM/file2d0a29e1d039/site/docs ## ## $meta ## $meta$title @@ -1764,10 +1764,10 @@

pkgdown metadata## ## $meta$template$params ## $meta$template$params$time -## [1] "2024-07-29 20:23:00 +0000" +## [1] "2024-08-06 17:29:39 +0000" ## ## $meta$template$params$source -## [1] "https://github.com/carpentries/file2ae874ccb80e" +## [1] "https://github.com/carpentries/file2d0a29e1d039" ## ## $meta$template$params$branch ## [1] "main" @@ -1824,7 +1824,7 @@

pkgdown metadata## [1] "An Example Lesson" ## ## $meta$template$params$created -## [1] "2024-07-29" +## [1] "2024-08-06" ## ## $meta$template$params$keywords ## [1] "software, data, lesson, The Carpentries" @@ -1854,8 +1854,8 @@

pkgdown metadata## root: '' ## title: An Example Lesson ## yaml: -## time: 2024-07-29 20:23:00 +0000 -## source: https://github.com/carpentries/file2ae874ccb80e +## time: 2024-08-06 17:29:39 +0000 +## source: https://github.com/carpentries/file2d0a29e1d039 ## branch: main ## contact: team@carpentries.org ## license: CC-BY 4.0 @@ -1874,7 +1874,7 @@

pkgdown metadata## stable: no ## doi: ~ ## title: An Example Lesson -## created: '2024-07-29' +## created: '2024-08-06' ## keywords: software, data, lesson, The Carpentries ## episodes: ~ ## learners: ~ diff --git a/articles/include-child-documents.html b/articles/include-child-documents.html index 67f4fc6b9..cbfc9d79a 100644 --- a/articles/include-child-documents.html +++ b/articles/include-child-documents.html @@ -276,7 +276,7 @@

Workspace consideration--- ```output -The time is: 2024-07-29 20:23:09 +The time is: 2024-08-06 17:29:48 ```

diff --git a/pkgdown.yml b/pkgdown.yml index 1b84c7d7e..68fbe1b5e 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -11,7 +11,7 @@ articles: articles/landscape: landscape.html articles/toolchain: toolchain.html translations: translations.html -last_built: 2024-07-29T20:21Z +last_built: 2024-08-06T17:27Z urls: reference: https://carpentries.github.io/sandpaper/reference article: https://carpentries.github.io/sandpaper/articles diff --git a/reference/build_episode_md.html b/reference/build_episode_md.html index 0339231fc..6c29403da 100644 --- a/reference/build_episode_md.html +++ b/reference/build_episode_md.html @@ -140,9 +140,9 @@

Examplesres <- build_episode_md(fun_file, outdir = fun_dir, workdir = fun_dir) #> #> -#> processing file: /tmp/RtmpYn3K9G/file1703365a757a/episodes/fun.Rmd +#> processing file: /tmp/Rtmpighsh3/file18cf53775e23/episodes/fun.Rmd #> 1/1 -#> output file: /tmp/RtmpYn3K9G/file1703365a757a/fun.md +#> output file: /tmp/Rtmpighsh3/file18cf53775e23/fun.md #> #>

diff --git a/reference/build_lesson.html b/reference/build_lesson.html index 854828868..8ce038897 100644 --- a/reference/build_lesson.html +++ b/reference/build_lesson.html @@ -136,28 +136,29 @@

Examples

 tmp <- tempfile()
 create_lesson(tmp, open = FALSE, rmd = FALSE)
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...
 #>  No schedule set, using Rmd files in episodes/ directory.
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

 #> To remove this message, define your schedule in config.yaml or use `set_episodes()` to generate it.
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

 #> ────────────────────────────────────────────────────────────────────────
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

 #>  To save this configuration, use
 #> 
 #> set_episodes(path = path, order = ep, write = TRUE)
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

-#>  Edit '/tmp/RtmpYn3K9G/file17032579c24b/episodes/introduction.md'
-#>  First episode created in /tmp/RtmpYn3K9G/file17032579c24b/episodes/introduction.md
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

+#>  Edit /tmp/Rtmpighsh3/file18cf24982bf5/episodes/introduction.md.
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

+#>  First episode created in /tmp/Rtmpighsh3/file18cf24982bf5/episodes/introduction.md
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

 #>  Workflows up-to-date!
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

-#>  Lesson successfully created in /tmp/RtmpYn3K9G/file17032579c24b
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file17032579c24b...

-#> /tmp/RtmpYn3K9G/file17032579c24b
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

+#>  Lesson successfully created in /tmp/Rtmpighsh3/file18cf24982bf5
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf24982bf5...

+#> /tmp/Rtmpighsh3/file18cf24982bf5
 create_episode("first-script", path = tmp, open = FALSE)
-#>  Edit '/tmp/RtmpYn3K9G/file17032579c24b/episodes/first-script.Rmd'
-#> /tmp/RtmpYn3K9G/file17032579c24b/episodes/first-script.Rmd
+#>  Edit /tmp/Rtmpighsh3/file18cf24982bf5/episodes/first-script.Rmd.
+#> /tmp/Rtmpighsh3/file18cf24982bf5/episodes/first-script.Rmd
 check_lesson(tmp)
 build_lesson(tmp)
 #> ── Initialising site ───────────────────────────────────────────────────
diff --git a/reference/build_status.html b/reference/build_status.html
index ccdc34557..989ff686d 100644
--- a/reference/build_status.html
+++ b/reference/build_status.html
@@ -133,27 +133,28 @@ 

Examples# setup ----------------------------------------------------------------- tmp <- tempfile() on.exit(fs::dir_delete(tmp), add = TRUE) -#> Error: [ENOENT] Failed to search directory '/tmp/RtmpYn3K9G/file170330bcb7f2': no such file or directory +#> Error: [ENOENT] Failed to search directory '/tmp/Rtmpighsh3/file18cf7d00efdc': no such file or directory create_lesson(tmp, rmd = FALSE, open = FALSE) -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... #> No schedule set, using Rmd files in episodes/ directory. -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... #> To remove this message, define your schedule in config.yaml or use `set_episodes()` to generate it. -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... #> ──────────────────────────────────────────────────────────────────────── -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... #> To save this configuration, use #> #> set_episodes(path = path, order = ep, write = TRUE) -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... -#> Edit '/tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md' -#> First episode created in /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... +#> Edit /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md. +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... +#> First episode created in /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... #> Workflows up-to-date! -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... -#> Lesson successfully created in /tmp/RtmpYn3K9G/file170330bcb7f2 -#> → Creating Lesson in /tmp/RtmpYn3K9G/file170330bcb7f2... -#> /tmp/RtmpYn3K9G/file170330bcb7f2 +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... +#> Lesson successfully created in /tmp/Rtmpighsh3/file18cf7d00efdc +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf7d00efdc... +#> /tmp/Rtmpighsh3/file18cf7d00efdc # show build status ----------------------------------------------------- # get namespace to use internal functions @@ -163,22 +164,22 @@

Examples# first run, everything needs to be built and no build file exists sp$build_status(resources, db, write = TRUE) #> $build -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md -#> /tmp/RtmpYn3K9G/file170330bcb7f2/index.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/index.md #> #> $new #> file -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md episodes/introduction.md -#> /tmp/RtmpYn3K9G/file170330bcb7f2/index.md index.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md episodes/introduction.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/index.md index.md #> checksum -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a -#> /tmp/RtmpYn3K9G/file170330bcb7f2/index.md a02c9c785ed98ddd84fe3d34ddb12fcd +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a +#> /tmp/Rtmpighsh3/file18cf7d00efdc/index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md site/built/introduction.md -#> /tmp/RtmpYn3K9G/file170330bcb7f2/index.md site/built/index.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md site/built/introduction.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/index.md site/built/index.md #> date -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md 2024-07-29 -#> /tmp/RtmpYn3K9G/file170330bcb7f2/index.md 2024-07-29 +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md 2024-08-06 +#> /tmp/Rtmpighsh3/file18cf7d00efdc/index.md 2024-08-06 #> # second run, everything is identical and nothing to be rebuilt sp$build_status(resources, db, write = TRUE) @@ -193,16 +194,16 @@

Examples#> 1 episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> #> $old #> file checksum #> 1 episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> # this is because the db exists on disk and you can query it sp$get_built_db(db, filter = "*") @@ -210,18 +211,18 @@

Examples#> 1 episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 sp$get_built_db(db, filter = "*R?md") #> file checksum #> 1 episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 # if you get the hash of the file, it's equal to the expected: print(actual <- tools::md5sum(resources[[1]])) -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.md #> "fd46501f174bb7e6cc280a1436fbc12a" print(expected <- sp$get_hash(resources[[1]], db)) #> [1] "fd46501f174bb7e6cc280a1436fbc12a" @@ -238,26 +239,26 @@

Examplesset_episodes(tmp, fs::path_file(resources[[1]]), write = TRUE) sp$build_status(resources, db, write = TRUE) #> $build -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.Rmd +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.Rmd #> #> $remove -#> /tmp/RtmpYn3K9G/file170330bcb7f2/site/built/introduction.md +#> /tmp/Rtmpighsh3/file18cf7d00efdc/site/built/introduction.md #> #> $new #> file checksum #> 2 episodes/introduction.Rmd 42f28ae9ac714f87eb912bfccf614cab #> 1 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 2 site/built/introduction.md 2024-07-29 -#> 1 site/built/index.md 2024-07-29 +#> 2 site/built/introduction.md 2024-08-06 +#> 1 site/built/index.md 2024-08-06 #> #> $old #> file checksum #> 1 episodes/introduction.md fd46501f174bb7e6cc280a1436fbc12a #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> # modified files need to be rebuilt ------------------------------------- @@ -265,7 +266,7 @@

Examples file = resources[[1]], append = TRUE) sp$build_status(resources, db, write = TRUE) #> $build -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.Rmd +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.Rmd #> #> $remove #> character(0) @@ -275,16 +276,16 @@

Examples#> 1 episodes/introduction.Rmd 700f007bdd7e8fd6e3f7011f80dacf7b #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> #> $old #> file checksum #> 1 episodes/introduction.Rmd 42f28ae9ac714f87eb912bfccf614cab #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> # child files require rebuilding ---------------------------------------- @@ -294,7 +295,7 @@

Examples file = resources[[1]], append = TRUE) sp$build_status(resources, db, write = TRUE) #> $build -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.Rmd +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.Rmd #> #> $remove #> character(0) @@ -304,16 +305,16 @@

Examples#> 1 episodes/introduction.Rmd 4a0b39645c21579d9992ad3b50d623e4 #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> #> $old #> file checksum #> 1 episodes/introduction.Rmd 700f007bdd7e8fd6e3f7011f80dacf7b #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> # NOTE: for child files, the checksums are the checksum of the checksums # of the parent and children, so the file checksum may not make sense @@ -323,7 +324,7 @@

Examples file = fs::path(tmp, "episodes", "files", "hi.md")) sp$build_status(resources, db, write = TRUE) #> $build -#> /tmp/RtmpYn3K9G/file170330bcb7f2/episodes/introduction.Rmd +#> /tmp/Rtmpighsh3/file18cf7d00efdc/episodes/introduction.Rmd #> #> $remove #> character(0) @@ -333,16 +334,16 @@

Examples#> 1 episodes/introduction.Rmd 2ab510dfa3fbd1f224ab3c20547391ea #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #> #> $old #> file checksum #> 1 episodes/introduction.Rmd 4a0b39645c21579d9992ad3b50d623e4 #> 2 index.md a02c9c785ed98ddd84fe3d34ddb12fcd #> built date -#> 1 site/built/introduction.md 2024-07-29 -#> 2 site/built/index.md 2024-07-29 +#> 1 site/built/introduction.md 2024-08-06 +#> 2 site/built/index.md 2024-08-06 #>

diff --git a/reference/check_lesson.html b/reference/check_lesson.html index 5a7cd3b16..4cb2b5bf4 100644 --- a/reference/check_lesson.html +++ b/reference/check_lesson.html @@ -70,25 +70,26 @@

Examples# Everything should work out of the box tmp <- tempfile() create_lesson(tmp, open = FALSE, rmd = FALSE) -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... #> No schedule set, using Rmd files in episodes/ directory. -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... #> To remove this message, define your schedule in config.yaml or use `set_episodes()` to generate it. -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... #> ──────────────────────────────────────────────────────────────────────── -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... #> To save this configuration, use #> #> set_episodes(path = path, order = ep, write = TRUE) -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... -#> Edit '/tmp/RtmpYn3K9G/file17036a256c0f/episodes/introduction.md' -#> First episode created in /tmp/RtmpYn3K9G/file17036a256c0f/episodes/introduction.md -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... +#> Edit /tmp/Rtmpighsh3/file18cf4680069c/episodes/introduction.md. +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... +#> First episode created in /tmp/Rtmpighsh3/file18cf4680069c/episodes/introduction.md +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... #> Workflows up-to-date! -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... -#> Lesson successfully created in /tmp/RtmpYn3K9G/file17036a256c0f -#> → Creating Lesson in /tmp/RtmpYn3K9G/file17036a256c0f... -#> /tmp/RtmpYn3K9G/file17036a256c0f +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... +#> Lesson successfully created in /tmp/Rtmpighsh3/file18cf4680069c +#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf4680069c... +#> /tmp/Rtmpighsh3/file18cf4680069c check_lesson(tmp) # if things do not work, then an error is thrown with information about @@ -96,7 +97,7 @@

Examplesunlink(file.path(tmp, ".gitignore")) unlink(file.path(tmp, "site"), recursive = TRUE) try(check_lesson(tmp)) -#> ! Path '/tmp/RtmpYn3K9G/file17036a256c0f/site' does not exist +#> ! Path '/tmp/Rtmpighsh3/file18cf4680069c/site' does not exist #> ! The .gitignore file is missing the following elements: #> episodes/*html #> site/* diff --git a/reference/ci_deploy.html b/reference/ci_deploy.html index 1010e73d4..2ae3622be 100644 --- a/reference/ci_deploy.html +++ b/reference/ci_deploy.html @@ -164,7 +164,7 @@

Examples#> restore_fixture <- snd$create_test_lesson() #> → Bootstrapping example lesson -#> Lesson bootstrapped in 3.111322 secs +#> Lesson bootstrapped in 3.372298 secs #> → Bootstrapping example lesson res <- getOption("sandpaper.test_fixture") cli::cli_h2("Create Remote") @@ -173,10 +173,10 @@

Examples#> rmt <- fs::file_temp(pattern = "REMOTE-") snd$setup_local_remote(repo = res, remote = rmt, verbose = FALSE) -#> Remote set up in 0.01450253 secs +#> Remote set up in 0.01571298 secs tok <- Sys.time() cli::cli_alert_info("Elapsed time: {round(tok - tik, 2)} seconds") -#> Elapsed time: 3.15 seconds +#> Elapsed time: 3.42 seconds # reporting ----- # The repository should only have one branch and the remote should be in @@ -189,8 +189,8 @@

Examples#> # A tibble: 2 × 3 #> name commit updated #> <chr> <chr> <dttm> -#> 1 main 3c3fd744b6bd7ce946b31299ef91… 2024-07-29 20:21:51 -#> 2 sandpaper-local/main 3c3fd744b6bd7ce946b31299ef91… 2024-07-29 20:21:51 +#> 1 main d26c0b58c299e72aa26995ce21ea… 2024-08-06 17:28:21 +#> 2 sandpaper-local/main d26c0b58c299e72aa26995ce21ea… 2024-08-06 17:28:21 cli::cli_h2("First episode status") #> ── First episode status ── #> @@ -198,12 +198,12 @@

Examples#> # A tibble: 1 × 5 #> file created modified commits head #> * <chr> <dttm> <dttm> <int> <chr> -#> 1 episodes/introd… 2024-07-29 20:21:51 2024-07-29 20:21:51 1 3c3f… +#> 1 episodes/introd… 2024-08-06 17:28:21 2024-08-06 17:28:21 1 d26c… gert::git_stat_files("episodes/introduction.Rmd", repo = rmt) #> # A tibble: 1 × 5 #> file created modified commits head #> * <chr> <dttm> <dttm> <int> <chr> -#> 1 episodes/introd… 2024-07-29 20:21:51 2024-07-29 20:21:51 1 3c3f… +#> 1 episodes/introd… 2024-08-06 17:28:21 2024-08-06 17:28:21 1 d26c… # DEPLOY ------------------------------------------------------------------ tik <- Sys.time() @@ -217,9 +217,9 @@

Examples#> Switched to a new branch 'md-outputs' #> Running git rm -rf --quiet . #> Running git commit --allow-empty -m 'Initializing md-outputs branch' -#> [md-outputs (root-commit) b00ff8b] Initializing md-outputs branch +#> [md-outputs (root-commit) 38977fd] Initializing md-outputs branch #> Running git push sandpaper-local 'HEAD:md-outputs' -#> To /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd +#> To /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 #> * [new branch] HEAD -> md-outputs #> Running git checkout main #> Switched to branch 'main' @@ -228,17 +228,17 @@

Examples#> ::group::Fetch sandpaper-local/md-outputs #> Running git remote set-branches sandpaper-local md-outputs #> Running git fetch sandpaper-local md-outputs -#> From /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd +#> From /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 #> * branch md-outputs -> FETCH_HEAD #> Running git remote set-branches sandpaper-local '*' #> ::endgroup:: #> ::group::Add worktree for sandpaper-local/md-outputs in site/built #> Running git worktree add --track -B md-outputs \ -#> /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/built \ +#> /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/built \ #> sandpaper-local/md-outputs -#> Preparing worktree (resetting branch 'md-outputs'; was at b00ff8b) +#> Preparing worktree (resetting branch 'md-outputs'; was at 38977fd) #> branch 'md-outputs' set up to track 'sandpaper-local/md-outputs'. -#> HEAD is now at b00ff8b Initializing md-outputs branch +#> HEAD is now at 38977fd Initializing md-outputs branch #> ::endgroup:: #> ::group::Build Markdown Sources #> Consent to use package cache provided @@ -251,11 +251,11 @@

Examples#> Using package cache in /home/runner/.cache/R/renv #> #> -#> processing file: /tmp/RtmpYn3K9G/file17036655329e/lesson-example/episodes/introduction.Rmd +#> processing file: /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/episodes/introduction.Rmd #> 1/3 #> 2/3 [pyramid] #> 3/3 -#> output file: /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/built/introduction.md +#> output file: /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/built/introduction.md #> #> ::endgroup:: #> ::group::Commit Markdown Sources @@ -263,13 +263,13 @@

Examples#> 'markdown source builds #> #> Auto-generated via {sandpaper} -#> Source : 3c3fd744b6bd7ce946b31299ef91654951959640 +#> Source : d26c0b58c299e72aa26995ce21eaf0164af92adf #> Branch : main #> Author : carpenter <team@carpentries.org> -#> Time : 2024-07-29 20:21:51 +0000 +#> Time : 2024-08-06 17:28:21 +0000 #> Message : Initial commit [via {sandpaper}] #> ' -#> [md-outputs 43d46c2] markdown source builds +#> [md-outputs be57498] markdown source builds #> 13 files changed, 737 insertions(+) #> create mode 100644 CODE_OF_CONDUCT.md #> create mode 100644 LICENSE.md @@ -285,20 +285,20 @@

Examples#> create mode 100644 renv.lock #> create mode 100644 setup.md #> Running git remote -v -#> sandpaper-local /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd (fetch) -#> sandpaper-local /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd (push) +#> sandpaper-local /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 (fetch) +#> sandpaper-local /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 (push) #> Running git push --force sandpaper-local 'HEAD:md-outputs' -#> To /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd -#> b00ff8b..43d46c2 HEAD -> md-outputs +#> To /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 +#> 38977fd..be57498 HEAD -> md-outputs #> ::endgroup:: #> ::group::Create New Branch #> Running git checkout --orphan gh-pages #> Switched to a new branch 'gh-pages' #> Running git rm -rf --quiet . #> Running git commit --allow-empty -m 'Initializing gh-pages branch' -#> [gh-pages (root-commit) f0fb1b7] Initializing gh-pages branch +#> [gh-pages (root-commit) eb4bd4e] Initializing gh-pages branch #> Running git push sandpaper-local 'HEAD:gh-pages' -#> To /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd +#> To /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 #> * [new branch] HEAD -> gh-pages #> Running git checkout main #> Switched to branch 'main' @@ -307,17 +307,17 @@

Examples#> ::group::Fetch sandpaper-local/gh-pages #> Running git remote set-branches sandpaper-local gh-pages #> Running git fetch sandpaper-local gh-pages -#> From /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd +#> From /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 #> * branch gh-pages -> FETCH_HEAD #> Running git remote set-branches sandpaper-local '*' #> ::endgroup:: #> ::group::Add worktree for sandpaper-local/gh-pages in site/docs #> Running git worktree add --track -B gh-pages \ -#> /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/docs \ +#> /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/docs \ #> sandpaper-local/gh-pages -#> Preparing worktree (resetting branch 'gh-pages'; was at f0fb1b7) +#> Preparing worktree (resetting branch 'gh-pages'; was at eb4bd4e) #> branch 'gh-pages' set up to track 'sandpaper-local/gh-pages'. -#> HEAD is now at f0fb1b7 Initializing gh-pages branch +#> HEAD is now at eb4bd4e Initializing gh-pages branch #> ::endgroup:: #> ::group::Build Lesson Website #> pandoc found @@ -611,28 +611,28 @@

Examples#> Writing 'instructor-notes.html' #> ── Creating sitemap.xml ──────────────────────────────────────────────── #> -#> Output created: /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/docs/index.html +#> Output created: /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/docs/index.html #> ::endgroup:: #> ::group::Commit Lesson Website #> Running git commit --allow-empty -m \ #> 'site deploy #> #> Auto-generated via {sandpaper} -#> Source : 43d46c2b4c4156c77c8234147ebfca630721ec2c +#> Source : be5749851de7a688be358a40b867191254b41899 #> Branch : md-outputs #> Author : GitHub Actions <actions@github.com> -#> Time : 2024-07-29 20:21:54 +0000 +#> Time : 2024-08-06 17:28:25 +0000 #> Message : markdown source builds #> #> Auto-generated via {sandpaper} -#> Source : 3c3fd744b6bd7ce946b31299ef91654951959640 +#> Source : d26c0b58c299e72aa26995ce21eaf0164af92adf #> Branch : main #> Author : carpenter <team@carpentries.org> -#> Time : 2024-07-29 20:21:51 +0000 +#> Time : 2024-08-06 17:28:21 +0000 #> Message : Initial commit [via {sandpaper}] #> ' -#> [gh-pages 959699e] site deploy -#> 149 files changed, 11374 insertions(+) +#> [gh-pages 4c04028] site deploy +#> 149 files changed, 11334 insertions(+) #> create mode 100644 .nojekyll #> create mode 100644 404.html #> create mode 100644 CODE_OF_CONDUCT.html @@ -783,19 +783,19 @@

Examples#> create mode 100644 site.webmanifest #> create mode 100644 sitemap.xml #> Running git remote -v -#> sandpaper-local /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd (fetch) -#> sandpaper-local /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd (push) +#> sandpaper-local /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 (fetch) +#> sandpaper-local /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 (push) #> Running git push --force sandpaper-local 'HEAD:gh-pages' -#> To /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd -#> f0fb1b7..959699e HEAD -> gh-pages +#> To /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 +#> eb4bd4e..4c04028 HEAD -> gh-pages #> ::endgroup:: #> Running git worktree remove --force \ -#> /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/docs +#> /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/docs #> Running git worktree remove --force \ -#> /tmp/RtmpYn3K9G/file17036655329e/lesson-example/site/built +#> /tmp/Rtmpighsh3/file18cf1a503a23/lesson-example/site/built tok <- Sys.time() cli::cli_alert_info("Elapsed time: {round(tok - tik, 2)} seconds") -#> Elapsed time: 11.86 seconds +#> Elapsed time: 12.73 seconds # reporting ----- # The repository and remote should both have three branches @@ -807,12 +807,12 @@

Examples#> # A tibble: 6 × 3 #> name commit updated #> <chr> <chr> <dttm> -#> 1 gh-pages 959699e3778af45c732422… 2024-07-29 20:22:02 -#> 2 main 3c3fd744b6bd7ce946b312… 2024-07-29 20:21:51 -#> 3 md-outputs 43d46c2b4c4156c77c8234… 2024-07-29 20:21:54 -#> 4 sandpaper-local/gh-pages 959699e3778af45c732422… 2024-07-29 20:22:02 -#> 5 sandpaper-local/main 3c3fd744b6bd7ce946b312… 2024-07-29 20:21:51 -#> 6 sandpaper-local/md-outputs 43d46c2b4c4156c77c8234… 2024-07-29 20:21:54 +#> 1 gh-pages 4c04028a198f37ff993819… 2024-08-06 17:28:34 +#> 2 main d26c0b58c299e72aa26995… 2024-08-06 17:28:21 +#> 3 md-outputs be5749851de7a688be358a… 2024-08-06 17:28:25 +#> 4 sandpaper-local/gh-pages 4c04028a198f37ff993819… 2024-08-06 17:28:34 +#> 5 sandpaper-local/main d26c0b58c299e72aa26995… 2024-08-06 17:28:21 +#> 6 sandpaper-local/md-outputs be5749851de7a688be358a… 2024-08-06 17:28:25 # An indicator this worked: the first episode should be represented as # different files across the branches: @@ -826,14 +826,14 @@

Examples#> # A tibble: 1 × 5 #> file created modified commits head #> * <chr> <dttm> <dttm> <int> <chr> -#> 1 episodes/introd… 2024-07-29 20:21:51 2024-07-29 20:21:51 1 3c3f… +#> 1 episodes/introd… 2024-08-06 17:28:21 2024-08-06 17:28:21 1 d26c… cli::cli_h3("rendered markdown") #> ── rendered markdown gert::git_stat_files("introduction.md", repo = rmt, ref = "md-outputs") #> # A tibble: 1 × 5 #> file created modified commits head #> * <chr> <dttm> <dttm> <int> <chr> -#> 1 introduction.md 2024-07-29 20:21:54 2024-07-29 20:21:54 1 43d46… +#> 1 introduction.md 2024-08-06 17:28:25 2024-08-06 17:28:25 1 be574… cli::cli_h3("html file") #> #> ── html file @@ -841,7 +841,7 @@

Examples#> # A tibble: 1 × 5 #> file created modified commits head #> * <chr> <dttm> <dttm> <int> <chr> -#> 1 introduction.ht… 2024-07-29 20:22:02 2024-07-29 20:22:02 1 9596… +#> 1 introduction.ht… 2024-08-06 17:28:34 2024-08-06 17:28:34 1 4c04… # CLEAN ------------------------------------------------------------------- tik <- Sys.time() @@ -849,8 +849,8 @@

Examples#> #> ── Clean Up ──────────────────────────────────────────────────────────── snd$remove_local_remote(repo = res) -#> removing 'sandpaper-local' (/tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd) -#> /tmp/RtmpYn3K9G/REMOTE-17037dc1c0cd +#> removing 'sandpaper-local' (/tmp/Rtmpighsh3/REMOTE-18cf3f334f9) +#> /tmp/Rtmpighsh3/REMOTE-18cf3f334f9 snd$reset_git_user(res) # remove the test fixture and report tryCatch(fs::dir_delete(res), error = function() FALSE) diff --git a/reference/create_episode.html b/reference/create_episode.html index 6a315b405..c971e1d09 100644 --- a/reference/create_episode.html +++ b/reference/create_episode.html @@ -129,28 +129,29 @@

ArgumentsExamples

tmp <- tempfile()
 create_lesson(tmp, open = FALSE, rmd = FALSE)
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...
 #>  No schedule set, using Rmd files in episodes/ directory.
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

 #> To remove this message, define your schedule in config.yaml or use `set_episodes()` to generate it.
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

 #> ────────────────────────────────────────────────────────────────────────
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

 #>  To save this configuration, use
 #> 
 #> set_episodes(path = path, order = ep, write = TRUE)
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

-#>  Edit '/tmp/RtmpYn3K9G/file170363a0c0c/episodes/introduction.md'
-#>  First episode created in /tmp/RtmpYn3K9G/file170363a0c0c/episodes/introduction.md
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

+#>  Edit /tmp/Rtmpighsh3/file18cf603b87a5/episodes/introduction.md.
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

+#>  First episode created in /tmp/Rtmpighsh3/file18cf603b87a5/episodes/introduction.md
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

 #>  Workflows up-to-date!
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

-#>  Lesson successfully created in /tmp/RtmpYn3K9G/file170363a0c0c
-#> → Creating Lesson in /tmp/RtmpYn3K9G/file170363a0c0c...

-#> /tmp/RtmpYn3K9G/file170363a0c0c
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

+#>  Lesson successfully created in /tmp/Rtmpighsh3/file18cf603b87a5
+#> → Creating Lesson in /tmp/Rtmpighsh3/file18cf603b87a5...

+#> /tmp/Rtmpighsh3/file18cf603b87a5
 create_episode_md("getting-started", path = tmp)
-#>  Edit '/tmp/RtmpYn3K9G/file170363a0c0c/episodes/getting-started.md'
-#> /tmp/RtmpYn3K9G/file170363a0c0c/episodes/getting-started.md
+#>  Edit /tmp/Rtmpighsh3/file18cf603b87a5/episodes/getting-started.md.
+#> /tmp/Rtmpighsh3/file18cf603b87a5/episodes/getting-started.md