Resolve delayed inputs by evaluating the code within the provided datasets
Source:R/resolve.R
resolve.Rd
Usage
resolve(x, datasets, keys = NULL)
# S3 method for delayed_variable_choices
resolve(x, datasets, keys)
# S3 method for delayed_value_choices
resolve(x, datasets, keys)
# S3 method for delayed_choices_selected
resolve(x, datasets, keys)
# S3 method for delayed_select_spec
resolve(x, datasets, keys)
# S3 method for delayed_filter_spec
resolve(x, datasets, keys)
# S3 method for delayed_data_extract_spec
resolve(x, datasets, keys)
# S3 method for list
resolve(x, datasets, keys)
# S3 method for default
resolve(x, datasets, keys)
Arguments
- x
(
delayed_data
) object to resolve.- datasets
(named
list
ofdata.frame
) to use in evaluation.- keys
(named
list
ofcharacter
) to be used as the keys for each dataset. The names of this list must be exactly the same as for datasets.
Methods (by class)
resolve(delayed_variable_choices)
: Callvariable_choices()
on the delayedvariable_choices
object.resolve(delayed_value_choices)
: Callvalue_choices()
on the delayedvalue_choices
object.resolve(delayed_choices_selected)
: Callselect_spec()
on the delayedchoices_selected
object.resolve(delayed_select_spec)
: Callselect_spec()
on the delayed specification.resolve(delayed_filter_spec)
: Callfilter_spec()
on the delayed specification.resolve(delayed_data_extract_spec)
: Calldata_extract_spec()
on the delayed specification.resolve(list)
: Iterates over elements of the list and recursively callsresolve
.resolve(default)
: Default method that does nothing and returnsx
itself.
Note
This is an internal function that is used by resolve_delayed()
.
All the methods are used internally only.