Make syntactically valid names out of character vectors.

Installation

R method

if (!requireNamespace("BiocManager", quietly = TRUE)) {
    install.packages("BiocManager")
}
install.packages(
    pkgs = "syntactic",
    repos = c(
        "https://r.acidgenomics.com",
        BiocManager::repositories()
    )
)

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