| prerequisites | R Documentation |
targets() returns a character vector of all unique values of target properties,
prerequisites() returns depends and script properties,
and tasks() returns task properties of the given rule() or list of rules.
prerequisites(x)
targets(x)
tasks(x)
terminals(x)
x |
An instance of the |
terminals() returns only such targets that are not prerequisites to any other rule.
A character vector of unique values of the selected property obtained from all rules in x
Michal Burda
rule()
job <- 'data.csv' %>>%
rRule('process.R', task='basic') %>>%
'data.rds' %>>%
markdownRule('report.Rnw', task='basic') %>>%
'report.pdf'
prerequisites(job) # returns c('process.R', data.csv', 'report.Rnw', 'data.rds')
targets(job) # returns c('data.rds', 'report.pdf')
tasks(job) # returns 'basic'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.