checkUnexpectedFields {rmzqc} | R Documentation |
Check for unexpected fields in data and warn if any are found
Description
This function compares the fields in the data with a list of expected fields and warns if there are any unexpected fields.
Usage
checkUnexpectedFields(data, expected_fields, class_name, context = NULL)
Arguments
data |
The data structure to check |
expected_fields |
A character vector of expected field names |
class_name |
The name of the class being populated |
context |
Optional context information for the warning message |
Value
Invisibly returns a character vector of unexpected field names
[Package rmzqc version 0.7.0 Index]