validate {litteR} | R Documentation |
Validation of LitteR File Formats
Description
Generic function for validation of file formats.
Usage
validate(x, ...)
## S3 method for class 'litter'
validate(x, type_names, logger = create_logger(level = "INFO"), ...)
## S3 method for class 'litter_types'
validate(x, logger = create_logger(level = "INFO"), ...)
## S3 method for class 'settings'
validate(x, logger = create_logger(level = "INFO"), ...)
Arguments
x |
object to validate |
... |
further arguments passed to or from other methods. |
type_names |
character vector of permissible types |
logger |
optional logger object (see |
Value
validated object of class wide
validated object of class litter_types
validated settings (list
)
Methods (by class)
-
validate(litter)
: validate litter data. -
validate(litter_types)
: validate litter_types file -
validate(settings)
: validate settings file
[Package litteR version 1.0.0 Index]