checkLength: Check if length is correct

View source: R/04-fruitsClass.R

checkLengthR Documentation

Check if length is correct

Description

Check if length is correct

Usage

checkLength(x, lengthExpected, argName = NULL)

Arguments

x

any object

lengthExpected

numeric or integer of length 1: expected length

argName

character: name of argument displayed in error message


Pandora-IsoMemo/resources documentation built on Nov. 21, 2024, 3:56 a.m.