Skip to contents

Assert that the given Python packages are available.

Usage

assert_python_packages(packages, python_version = NULL)

Arguments

packages

(character())
Python packages to check.

python_version

(character(1))
Python version to use. If NULL, the default Python version is used.

Value

(character())
Invisibly returns the input packages vector if all requested Python packages are available; otherwise throws an error listing the missing packages.