powered by
Create an example Target Markdown report to get started with targets.
targets
use_targets_rmd(path = "_targets.Rmd", open = interactive())
NULL (invisibly).
NULL
Character of length 1, output path of the Target Markdown report relative to the current active project.
Logical, whether to open the file for editing in the RStudio IDE.
Other help: tar_reprex(), targets-package, use_targets()
tar_reprex()
targets-package
use_targets()
if (identical(Sys.getenv("TAR_INTERACTIVE_EXAMPLES"), "true")) { tar_dir({ # tar_dir() runs code from a temp dir for CRAN. use_targets(open = FALSE) }) }
Run the code above in your browser using DataLab