-
Notifications
You must be signed in to change notification settings - Fork 12
/
make_books.R
46 lines (31 loc) · 1.18 KB
/
make_books.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# copy assets
fs::file_copy("figures/icons_all.png", "docs/figures/icons_all.png")
fs::file_copy("figures/favicon.png", "docs/figures/favicon.png")
# Front page
quarto::quarto_render("frontpage")
# Git and GitHub
quarto::quarto_render("DataManagement")
# # R markdown superseded by quarto book
# withr::with_dir("Rmarkdown/", {
# bookdown::render_book('index.Rmd', 'bookdown::bs4_book', output_dir = "../docs/rmarkdown")
# bioceed_links("../docs/rmarkdown")
# })
# R packages
quarto::quarto_render("writing_a_package")
# working in R
quarto::quarto_render("WorkingInR")
# quarto markdown
quarto::quarto_render("quarto")
{
quarto::quarto_render(input = "quarto/demo_presentation.qmd", output_file = "demo_presentation.html")
fs::dir_copy("quarto/demo_presentation_files/", "docs/quarto/demo_presentation_files/", overwrite = TRUE)
fs::dir_delete("quarto/demo_presentation_files/")
fs::file_copy("demo_presentation.html", "docs/quarto/demo_presentation.html", overwrite = TRUE)
fs::file_delete("demo_presentation.html")
}
# targets
quarto::quarto_render("targets")
# Statistics in R
quarto::quarto_render("StatisticsInR")
# data lifecycle
quarto::quarto_render("data_lifecycle")