Make syntactically valid names out of character vectors.

Installation

R method

install.packages(
    pkgs = "syntactic",
    repos = c("r.acidgenomics.com", getOption("repos"))
)

conda method

Configure conda to use the bioconda channels.

# Don't install recipe into base environment.
name="r-syntactic"
conda create --name="$name" "$name"
conda activate "$name"
R