View source: R/load-blueprints.R
load_blueprint | R Documentation |
Load a blueprint from a script file
load_blueprint(plan, file)
load_blueprints(plan, directory = here::here("blueprints"), recurse = FALSE)
plan |
A drake plan |
file |
A path to a script file |
directory |
A path to a directory with script files that are blueprints. Defaults to the "blueprints" directory at the root of the current R project. |
recurse |
Recursively loads blueprints from a directory if |
A drake_plan with attached blueprints
By default, blueprintr ignore empty blueprint folders. However, it may be beneficial
to warn users if folder is empty, particularly during project setup. This helps
identify any potential misconfiguration of drake plan attachment. To enable these warnings,
set option(blueprintr.warn_empty_blueprints_dirs = TRUE)
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.