Learn R Programming

slendr (version 1.0.0)

check_env: Check that the active Python environment is setup for slendr

Description

This function inspects the Python environment which has been activated by the reticulate package and prints the versions of all slendr Python dependencies to the console.

Usage

check_env(verbose = TRUE)

Value

Either TRUE (slendr Python environment is present) or FALSE

(slendr Python environment is not present).

Arguments

verbose

Should a log message be printed? If FALSE, only a logical value is returned (invisibly).

Examples

Run this code
check_dependencies(python = TRUE, quit = TRUE) # dependencies must be present

init_env()
check_env()

Run the code above in your browser using DataLab