verify: Validates Coo objects

View source: R/cl-validate.R

verifyR Documentation

Validates Coo objects

Description

No validation for S3 objects, so this method is a (cheap) attempt at checking Coo objects, Out, Opn and Ldk objects.

Usage

verify(Coo)

Arguments

Coo

any Coo object

Details

Implemented before all morphometric methods and handling verbs. To see what is checked, try eg Momocs:::verify.Coo

Value

a Coo object.

Examples

verify(bot)
bot[12] <- NA
# you would not use try, but here we cope with R CMD CHECK standards
plop <- try(verify(bot), silent=TRUE)
class(plop)

verify(hearts)
hearts$ldk[[4]] <- c(1, 2)
# same remark
plop2 <- try(verify(hearts), silent=TRUE)
class(plop2)

Momocs documentation built on Nov. 13, 2023, 5:07 p.m.

Related to verify in Momocs...