checkEmpty: Checks if input n has NULL or NA value. Errors if emptyOkay...

Description Usage Arguments Value

View source: R/utilities-input-validation.R

Description

Checks if input n has NULL or NA value. Errors if emptyOkay is FALSE.

Usage

1
checkEmpty(n, emptyOkay = FALSE)

Arguments

n

Arbitrary input n

emptyOkay

Boolean. If FALSE, function will error if n is NULL or NA. If TRUE, no error is raised.

Value

n


IQSS/PSI-Library documentation built on Feb. 15, 2020, 9:03 p.m.