View source: R/use_targets_rmd.R
use_targets_rmd | R Documentation |
Create an example Target Markdown report
to get started with targets
.
use_targets_rmd(path = "_targets.Rmd", open = interactive())
path |
Character of length 1, output path of the Target Markdown report relative to the current active project. |
open |
Logical, whether to open the file for editing in the RStudio IDE. |
NULL
(invisibly).
Other help:
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)
})
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.