isValidName: Can some strings be used for column or list element names...

View source: R/isValidName.R

isValidNameR Documentation

Can some strings be used for column or list element names without problems?

Description

Checks if strings are valid R names that won't cause problems as column names.

Usage

isValidName(x, unique = TRUE)

Arguments

x

[character]
Character vector to check.

unique

[logical(1)]
Should the names be unique? Default is TRUE.

Value

[logical]. One Boolean entry for each string in x. If the entries are not unique and unique is enabled, the first duplicate will be FALSE.


BBmisc documentation built on Nov. 6, 2026, 1:06 a.m.