proj_py_install_pkgs: Install Python Packages into a Virtual Environment

View source: R/setup-project.R

proj_py_install_pkgsR Documentation

Install Python Packages into a Virtual Environment

Description

This function installs the specified Python packages into the given virtual environment. It attempts to install each package and catches any errors during the installation process.

Usage

proj_py_install_pkgs(pkgs, venv = "venv_main", ...)

Arguments

pkgs

A vector of package names to install.

venv

The name of the virtual environment where packages will be installed. Default is 'venv_main'.

...

Additional arguments passed to virtualenv_install.

Value

NULL This function attempts to install packages and handles errors silently, returning no value.

Examples

proj_py_install_pkgs(c("numpy", "pandas"), "venv_main")


kueckelj/confuns documentation built on June 28, 2024, 9:19 a.m.