Skip to contents

This is a litr wrapper to devtools::load_all(). It first calls litr::render() with minimal_eval=TRUE, then it calls devtools::load_all() on the generated package.

Usage

load_all(input, output_dir = NULL, ...)

Arguments

input

The input file to be rendered (see rmarkdown::render)

output_dir

By default (and in typical usage) this is NULL, meaning that no .html/bookdown/.pdf will result. However, when a directory is given, the result of the litr-knitting will be saved to this location.

...

Additional parameters to be passed to devtools::load_all()