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 create_logger)

Value

validated object of class wide

validated object of class litter_types

validated settings (list)

Methods (by class)


[Package litteR version 1.0.0 Index]