name_is_ok: Is the Name Ok According to Our Best Practices?

Description Usage Arguments Value Examples

View source: R/name_is_ok.R

Description

Is the Name Ok According to Our Best Practices?

Usage

1
name_is_ok(x, mildness = 1)

Arguments

x

vector of character

mildness

level of mildness. 1: not mild, all characters must be hyphen or alphanumeric or dot or underscore, 2: more mild, all characters must be one of the above or space

Value

vector of logical as long as x

Examples

1
2
name_is_ok(c("a", "$", ".", " "))
name_is_ok(c("a", "$", ".", " "), mildness = 2)

KWB-R/fakin.path.app documentation built on Nov. 25, 2020, 10:20 p.m.