R/check_rds_contents.R
check.rds.contents.Rd
Checks the RDS file for expected elements.
check.rds.contents(obj, required = list(), allow.extra = TRUE)
The loaded RDS object.
List of required elements.
Logical, whether to allow additional, unexpected elements. Default is TRUE.
TRUE
Returns errors if any found; otherwise, returns TRUE.