if (FALSE) {
# This makes a package with an example Quarto paper in the vignettes folder.
make_package(path = "~/test", type = "Quarto (analysis.qmd)", example = TRUE)
# make_package() allows abbreviations on the project type: "Q" for Quarto or "R" for R Markdown
make_package(path = "~/test_project", "Q", TRUE)
# This makes a package with an example R Markdown paper in the vignettes folder.
make_package(path = "~/test", type = "R Markdown (analysis.Rmd)", example = TRUE)
# This makes a project with an example paper in the vignettes folder.
make_package(path = "~/test_project", "R", example = TRUE)
}
Run the code above in your browser using DataLab