make | R Documentation |
Make/build target or multiple targets
make(x, ...) ## S3 method for class 'node' make( x, force = FALSE, verbose = TRUE, verbose_prefix = "", .visited = as.environment(list(ids = character())) ) ## S3 method for class 'character' make( x, rflow, force = FALSE, verbose = TRUE, verbose_prefix = "", .visited = as.environment(list(ids = character())), onError = getOption("RFLOW_ON_ERRORS", default = "skip") ) ## S3 method for class 'rflow' make( x, tags = NULL, leaves_only = TRUE, force = FALSE, tagsMatchLogic = "all", verbose = TRUE, onError = getOption("RFLOW_ON_ERRORS", default = "skip"), .visited = as.environment(list(ids = character())) ) ## S3 method for class 'list' make(x, ..., .visited = as.environment(list(ids = character())))
x |
node's id or rflow object |
force |
logical; force eval()? |
verbose |
logical; Print verbose output? |
tags |
filter nodes by tags |
leaves_only |
logical; Option to run make only from ending nodes. Avoids redundant visits on intermediate nodes. |
There are multiple ways (S3 methods) to choose targets for building. See examples.
The tags parameter can be used to filter nodes in two modes depending on length of the argument. A character vector of lenght > 1 results in union of matches. A scalar character value is applied as a regular expression.
## Not run: make(RF$mynode) ## End(Not run) ## Not run: make(c("mynode", "othernode"), RF) ## End(Not run) ## Not run: make(RF, tags = "DB") ## End(Not run) ## Not run: nodes(RF) %>% FilterWith("DB" %in% tags & .last_evaluted < Sys.date()) %>% make() ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.