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.


lambdamoses/BUStoolsR documentation built on Aug. 1, 2024, 6:30 a.m.