check_char1: Check that an object is a character vector of length 1

View source: R/utils.R

check_char1R 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.


BUStools/BUSpaRse documentation built on March 3, 2024, 9:11 a.m.