validate_snowprofileLayers: Validate correctness of snowprofileLayers object

View source: R/snowprofileLayers.R

validate_snowprofileLayersR Documentation

Validate correctness of snowprofileLayers object

Description

Validator function that checks if class standards are being met and raises an error if not.

Usage

validate_snowprofileLayers(object, silent = FALSE)

Arguments

object

to be tested

silent

remain silent upon error (i.e., don't throw error, but only print it)

Value

Per default an error is raised when discovered, if silent = TRUE the error is only printed and the error message returned.


sarp.snowprofile documentation built on March 31, 2023, 5:17 p.m.