Pull one or more packets (including all their files) into this archive from one or more of your locations. This will make files available for use as dependencies (e.g., with orderly_dependency).
Usage
orderly_location_pull_packet(
...,
options = NULL,
recursive = NULL,
root = NULL,
locate = TRUE
)
Arguments
- ...
Arguments passed through to orderly_search. In the special case where the first argument is a character vector of ids and there are no named dot arguments, then we interpret this argument as a vector of ids directly. Be careful here, your query may pull a lot of data
in particular, passing
NULL
will match everything that every remote has!
- options
Options passed to orderly_search. The option
allow_remote
must beTRUE
as otherwise no packet could possibly be pulled, so an error is thrown if this is FALSE.- recursive
If non-NULL, a logical, indicating if we should recursively pull all packets that are referenced by the packets specified in
id
. This might copy a lot of data! IfNULL
, we default to the value given by the the configuration optionrequire_complete_tree
.- root
The path to the root directory, or
NULL
(the default) to search for one from the current working directory iflocate
isTRUE
. This function does not require that the directory is configured for orderly, and can be anyoutpack
root (see orderly_init for details).- locate
Logical, indicating if the root should be searched for. If
TRUE
, then we looks in the directory given forroot
(or the working directory ifNULL
) and then up through its parents until it finds an.outpack
directory ororderly_config.yml