ExpectHasKeys {datarobot} | R Documentation |
Make sure that the object has all of the keys specified. Also tests that there
are not additional keys if allowAdditional
is FALSE (default).
Description
Make sure that the object has all of the keys specified. Also tests that there
are not additional keys if allowAdditional
is FALSE (default).
Usage
ExpectHasKeys(obj, keys, allowAdditional = FALSE)
Arguments
obj |
object. A list, vector, or data.frame to check names. |
keys |
character. A vector of names of keys to check. |
allowAdditional |
logical. Should we allow there to be more keys than specified? |
[Package datarobot version 2.18.6 Index]