check_char1 {BUSpaRse}R Documentation

Check that an object is a character vector of length 1

Description

Just in case the user passes something with length more than 1 and messes up everything thanks to vectorization.

Usage

check_char1(x)

Arguments

x

Named vector of arguments to be checked.

Value

Error if x is not a character vector with length 1.


[Package BUSpaRse version 1.4.2 Index]