assert_valid_keys {diffdf} | R Documentation |
Assert that keys are valid
Description
Utility function to check that user provided "keys" aren't listed as a problem
variable of the current list of issues.
Usage
assert_valid_keys(COMPARE, KEYS, component, msg)
Arguments
COMPARE |
(list ) A named list of which each element is a data.frame with the
column VARIABLE
|
KEYS |
(character ) name of key variables to check to make sure they don't contain
any issues
|
component |
(character ) name of the component within COMPARE to check against
|
msg |
(character ) error message to print if any of KEYS are found within
COMPARE[component]$VARIABLE
|
[Package
diffdf version 1.1.1
Index]