This function will either find an existing virtualenv by name (in the default location) or at a custom filesystem path, or create it (and install CISSVAE into it).
Usage
create_cissvae_env(
envname = "cissvae_environment",
path = NULL,
install_python = FALSE,
python_version = "3.10"
)
Arguments
- envname
Name of the virtual environment (when using the default env location).
- path
Character; optional path to the directory in which to create/use the virtualenv.
- install_python
Logical; if TRUE, install Python if none of at least the requested version is found on the system.
- python_version
Python version string (major.minor), used when installing Python.