| orderly_dependency | R Documentation |
Declare a dependency on another packet
orderly_dependency(name, query, files)
name |
The name of the packet to depend on |
query |
The query to search for; often this will simply be
the string |
files |
Files to copy from the other packet, as a character vector. If the character vector is unnamed, the files listed are copied over without changing their names. If the vector is named however, the names will be used as the destination name for the files. In either case, if you want to import a directory of files from a
packet, you must refer to the source with a trailing slash
(e.g., You can use a limited form of string interpolation in the names of
this argument; using Note that there is an unfortunate, but (to us) avoidable
inconsistency here; interpolation of values from your
environment in the query is done by using If you want to copy all files from the packet, use |
See orderly_run() for some details about how search
options are used to select which locations packets are found from,
and if any data is fetched over the network. If you are running
interactively, this will obviously not work, so you should use
orderly_interactive_set_search_options() to set the
options that this function will respond to.
Undefined
orderly_example_show("depends")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.