to_any_case()
R/check_design_rule.R
check_design_rule.Rd
Internal helper to test the design rules for any string and setting of to_any_case()
check_design_rule(string, sep_in = NULL, transliterations = NULL, sep_out = NULL, prefix = "", postfix = "", unique_sep = NULL, empty_fill = NULL, parsing_option = 1)
string | A string (for example names of a data frame). |
---|---|
sep_in | String that will be wrapped internally into |
transliterations | A character vector (if not |
sep_out | String that will be used as separator. The defaults are |
prefix | prefix (string). |
postfix | postfix (string). |
unique_sep | A string. If it is supplied, then duplicated names will get a suffix integer in the order of their appearance. The suffix is separated by the supplied string to this argument. |
empty_fill | A string. If it is supplied, then each entry that matches "" will be replaced by the supplied string to this argument. |
parsing_option | An integer that will determine the parsing_option.
|
A character vector separated by underscores, containing the parsed string.