tmp <- tempfile()
create_lesson(tmp, "test lesson", open = FALSE, rmd = FALSE)
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
#> ℹ No schedule set, using Rmd files in episodes/ directory.
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
#> → To remove this message, define your schedule in config.yaml or use `set_episodes()` to generate it.
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
#> ────────────────────────────────────────────────────────────────────────
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
#> ℹ To save this configuration, use
#>
#> set_episodes(path = path, order = ep, write = TRUE)
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
-#> ☐ Edit /tmp/RtmpD6AhNE/file16ef502078ae/episodes/introduction.md.
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
-#> ✔ First episode created in /tmp/RtmpD6AhNE/file16ef502078ae/episodes/introduction.md
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
+#> ☐ Edit /tmp/RtmpQSXDNq/file17062cb0065e/episodes/introduction.md.
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
+#> ✔ First episode created in /tmp/RtmpQSXDNq/file17062cb0065e/episodes/introduction.md
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
#> ℹ Workflows up-to-date!
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
-#> ✔ Lesson successfully created in /tmp/RtmpD6AhNE/file16ef502078ae
-#> → Creating Lesson in /tmp/RtmpD6AhNE/file16ef502078ae...
-#> /tmp/RtmpD6AhNE/file16ef502078ae
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
+#> ✔ Lesson successfully created in /tmp/RtmpQSXDNq/file17062cb0065e
+#> → Creating Lesson in /tmp/RtmpQSXDNq/file17062cb0065e...
+#> /tmp/RtmpQSXDNq/file17062cb0065e
# Change the title and License
set_config(c(title = "Absolutely Free Lesson", license = "CC0"),
path = tmp,
write = TRUE
)
-#> ℹ Writing to /tmp/RtmpD6AhNE/file16ef502078ae/config.yaml
+#> ℹ Writing to /tmp/RtmpQSXDNq/file17062cb0065e/config.yaml
#> → title: 'test lesson' -> title: 'Absolutely Free Lesson'
#> → license: 'CC-BY 4.0' -> license: 'CC0'
create_episode("using-R", path = tmp, open = FALSE)
-#> ☐ Edit /tmp/RtmpD6AhNE/file16ef502078ae/episodes/using-r.Rmd.
-#> /tmp/RtmpD6AhNE/file16ef502078ae/episodes/using-r.Rmd
+#> ☐ Edit /tmp/RtmpQSXDNq/file17062cb0065e/episodes/using-r.Rmd.
+#> /tmp/RtmpQSXDNq/file17062cb0065e/episodes/using-r.Rmd
print(sched <- get_episodes(tmp))
#> [1] "introduction.md" "using-r.Rmd"
diff --git a/dev/reference/set_globals.html b/dev/reference/set_globals.html
index 8eb0d410..2ce65bc1 100644
--- a/dev/reference/set_globals.html
+++ b/dev/reference/set_globals.html
@@ -7,7 +7,7 @@
sandpaper
- 0.16.9.9000
+ 0.16.10.9000