jsf_available

< Back to Reference | View source

jsf_available()

Check whether the Python jsf package is available

Usage

jsf_available()

Value

A single logical value. TRUE if jsf is available, otherwise FALSE.

Description

This function checks whether the Python jsf module can be found by reticulate in the currently active Python environment.

Examples

if (reticulate::py_available(initialize = FALSE)) {
  jsf_available()
}