
Set search options for interactive use
Source:R/interactive.R
orderly_interactive_set_search_options.Rd
Set search options for interactive use of orderly; see
orderly_dependency()
and orderly_run()
for
details. This applies only for the current session, but applies to
all interactive uses of orderly functions that might have received
a copy of the search options (location
, allow_remote
and
fetch_metadata
) via orderly_run()
. Calling with no
arguments resets to the defaults.
Usage
orderly_interactive_set_search_options(
location = NULL,
allow_remote = NULL,
fetch_metadata = FALSE
)
Arguments
- location
Optional vector of locations to pull from. We might in future expand this to allow wildcards or exceptions.
- allow_remote
Logical, indicating if we should allow packets to be found that are not currently unpacked (i.e., are known only to a location that we have metadata from). If this is
TRUE
, then in conjunction withorderly_dependency()
you might pull a large quantity of data. The default isNULL
. This isTRUE
if remote locations are listed explicitly as a character vector in thelocation
argument, or if you have specifiedfetch_metadata = TRUE
, otherwiseFALSE
.- fetch_metadata
Logical, indicating if we should pull metadata immediately before the search. If
location
is given, then we will pass this through toorderly_location_fetch_metadata()
to filter locations to update. If pulling many packets in sequence, you will want to update this option toFALSE
after the first pull, otherwise it will update the metadata between every packet, which will be needlessly slow.