check_python_library_available {autovi}R Documentation

Check python library availability

Description

This function checks if a python library is available. If the library can not be found by the importlib.util.find_spec method, then an error will be throw.

Usage

check_python_library_available(lib_name)

Arguments

lib_name

Character. A library name.

Value

No return. Called for side-effect.

Examples

try(check_python_library_available("numpy"))

[Package autovi version 0.4.0 Index]