checkUnexpectedFields | R Documentation |
This function compares the fields in the data with a list of expected fields and warns if there are any unexpected fields.
checkUnexpectedFields(data, expected_fields, class_name, context = NULL)
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 |
Invisibly returns a character vector of unexpected field names
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.