has_required_names {ForestElementsR} | R Documentation |
Check for Required Elements Existing in an Object
Description
Check for Required Elements Existing in an Object
Usage
has_required_names(x, required_names)
Arguments
x |
Any object for which |
required_names |
Character vector of names required to be in
|
Value
A list with two elements: 1) rqmt_ok
which is TRUE
if
the requirement is fulfilled and FALSE
otherwise; 2)
err_message
, the body of an error message to be used by the calling
function (mentions all problematic elements)
[Package ForestElementsR version 2.1.0 Index]