atable (version 0.1.14)

is_syntactically_valid_name: Checks if valid name

Description

Checks for valid names by make.names, i.e. x is valid iff make.names does nothing with x.

Usage

is_syntactically_valid_name(x)

Value

A logical with length 1. TRUE when x is a character with length > 0 without duplicates and is valid. Else FALSE and a warning what's wrong.

Arguments

x

An object.

Examples

Run this code
x <- c('asdf', NA,'.na', '

Run the code above in your browser using DataLab