Checks if Python environment is available and properly configured.
Value
List with status information:
available: Logical, TRUE if environment exists
active: Logical, TRUE if environment is currently active
packages: List of installed package versions
Examples
if (interactive()) {
status <- check_python_env()
print(status)
}
