chk_no_dimnames: Check that an array does not have dimnames

Description Usage Arguments See Also Examples

View source: R/chk-single.R

Description

Check that an array does not have dimnames

Usage

1
2
3

Arguments

x

A vector.

name

The name for x that will be used in error messages.

See Also

chk_has_dimnames to test that an array does have dimnames. chk_no_names to test that an object does not have names.

Examples

1
2
x <- array(1:6, dim = 3:2)
chk_no_dimnames(x, name = "x")

johnrbryant/demcheck documentation built on Dec. 31, 2021, 11:57 a.m.