target | R Documentation |
Create a workflow target definition.
target( name, command, type = "tar_target", args = list(), comment = character() )
name |
the target name |
command |
the R command to run the target |
type |
the target archetype |
args |
a list of arguments to pass the the specified target archetype |
comment |
optional comment that precedes the target code |
Target types can be one of any provided by the targets
or tarchetypes
packages.
An S4 object of class Target.
workflow_target <- target('a_target', 1 + 1, args = list(memory = 'persistent'), comment = 'A target') workflow_target
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.