Upgrade spaCy in conda environment
spacy_upgrade(
conda = "auto",
envname = "spacy_condaenv",
prompt = TRUE,
pip = FALSE,
update_conda = FALSE,
lang_models = "en_core_web_sm"
)
Path to conda executable. Default "auto" which automatically find the path
character; name of conda environment to upgrade spaCy
logical; ask whether to proceed during the installation
TRUE
to use pip for installing spacy. If FALSE
, conda
package manager with conda-forge channel will be used for installing spacy.
logical; If true
, the conda binary for the system will be updated to the latest version.
Default FALSE
.
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")
)