Skip to contents

The guides are installed with the package (folder guide), whether or not the vignettes were built. casimir_guide() writes a guide to dir as a stand-alone R Markdown file that trainers can edit and knit.

Usage

casimir_guide(
  guide = c("how-it-works", "user-guide", "teaching", "all"),
  dir = ".",
  render = FALSE,
  overwrite = FALSE
)

Arguments

guide

"how-it-works", "user-guide", "teaching" or "all".

dir

Folder to write to (created).

render

Also render to HTML (needs 'rmarkdown' and pandoc).

overwrite

Replace existing files.

Value

The paths of the files written, invisibly.

Examples

if (FALSE) {
casimir_guide("teaching", dir = "course")
}