create_bundle | R Documentation |
create_bundle
is a helper function to create a set of skeleton folders under a main bundle directory.
create_bundle(baton, dir, tree = NULL, tag = "_bundle-", mode, ...)
baton |
R object of S3 class, created by |
dir |
character value for location to create the bundle on the file system. |
tree |
character vector for sub directories; default has no sub-directories set. |
tag |
character value for prefixed label to the bundled folder. |
mode |
passed to |
... |
passed to |
Creating a bundle can be done at the same time as create_baton
. However, it can be used without a baton as well
to easily make a set of empty folders to populate later. When using as part of a {relay}, the primary purpose is to store information that
passes checks from batons.
Character vector for the location of created bundle.
## Not run:
create_bundle(my_baton, dir = '/path/to/relay/raw_bundle',
tree = c('raw', 'processed', 'metadata', 'output', '/raw/sub-raw'))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.