Tries Conda first (recommended). If Conda is unavailable, falls back to virtualenv. On success, prints which route was used.
install_py_deps(
envname = "r-bertopic",
python_version = "3.10",
python = NULL,
reinstall = FALSE,
validate = TRUE,
verbose = TRUE
)Invisibly, the path to the selected Python interpreter.
Character. Environment name (both routes). Default "r-bertopic".
Character. Python version for Conda route, e.g. "3.10".
Optional path to python for virtualenv route.
Logical. Recreate the environment if it exists (route-specific).
Logical. Attempt to validate imports if reticulate is not already initialized to another Python.
Logical. Print progress.