List the Python packages that are installed in the requested Python environment.
py_list_packages( envname = NULL, type = c("auto", "virtualenv", "conda"), python = NULL )
The name of, or path to, a Python virtual environment.
python is non-
The virtual environment type. Useful if you have both virtual environments and Conda environments of the same name on your system, and you need to disambiguate them.
The path to a Python executable.
An R data.frame, with columns:
The package name.
The package version.
The package requirement.
(Conda only) The channel associated with this package.
reticulate will use the "default" version
of Python, as reported by
py_exe(). This implies that you
py_list_packages() without arguments in order to list
the installed Python packages in the version of Python currently