deps_knitr: Find the drake dependencies of a dynamic knitr report target....

View source: R/deps.R

deps_knitrR Documentation

Find the drake dependencies of a dynamic knitr report target. [Stable]

Description

Dependencies in knitr reports are marked by loadd() and readd() in active code chunks.

Usage

deps_knitr(path)

Arguments

path

Encoded file path to the knitr/R Markdown document. Wrap paths in file_store() to encode.

Value

A data frame of dependencies.

See Also

deps_code(), deps_target()

Examples

## Not run: 
isolate_example("Quarantine side effects.", {
load_mtcars_example() # Get the code with drake_example("mtcars").
deps_knitr("report.Rmd")
})

## End(Not run)

drake documentation built on Nov. 6, 2023, 5:09 p.m.