powered by
Dependencies in knitr reports are marked by loadd() and readd() in active code chunks.
knitr
loadd()
readd()
deps_knitr(path)
Encoded file path to the knitr/R Markdown document. Wrap paths in file_store() to encode.
file_store()
A data frame of dependencies.
deps_code(), deps_target()
deps_code()
deps_target()
# NOT RUN { isolate_example("Quarantine side effects.", { load_mtcars_example() # Get the code with drake_example("mtcars"). deps_knitr("report.Rmd") }) # }
Run the code above in your browser using DataLab