Nothing
test_that(
"Knit bare skeletons"
, {
skip_on_cran()
# Render skeleton
homework_path <- file.path(tempdir(), "homework_skeleton.Rmd")
rmarkdown::draft(
homework_path
, system.file(
"rmarkdown", "templates", "uoc-psych-homework"
, package = "apathe"
)
, create_dir = FALSE
, edit = FALSE
)
try( rmarkdown::render(homework_path, quiet = TRUE) )
expect_true(file.exists(gsub("\\.Rmd", ".pdf", homework_path)))
thesis_path <- file.path(tempdir(), "thesis_skeleton.Rmd")
rmarkdown::draft(
thesis_path
, system.file(
"rmarkdown", "templates", "uoc-psych-thesis"
, package = "apathe"
)
, create_dir = FALSE
, edit = FALSE
)
try( rmarkdown::render(thesis_path, quiet = TRUE) )
expect_true(file.exists(gsub("\\.Rmd", ".pdf", thesis_path)))
}
)
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.