spacyr (version 1.2.1)

spacy_upgrade: Upgrade spaCy in conda environment

Description

Upgrade spaCy in conda environment

Usage

spacy_upgrade(
  conda = "auto",
  envname = "spacy_condaenv",
  prompt = TRUE,
  pip = FALSE,
  update_conda = FALSE,
  lang_models = "en_core_web_sm"
)

Arguments

conda

Path to conda executable. Default "auto" which automatically find the path

envname

character; name of conda environment to upgrade spaCy

prompt

logical; ask whether to proceed during the installation

pip

TRUE to use pip for installing spacy. If FALSE, conda package manager with conda-forge channel will be used for installing spacy.

update_conda

logical; If true, the conda binary for the system will be updated to the latest version. Default FALSE.

lang_models

Language models to be upgraded. Default NULL (No upgrade). A vector of multiple model names can be used (e.g. c("en_core_web_sm", "de_core_web_sm"))