powered by
This function checks if 'Python' and 'JAX' can be accessed via `reticulate`. If not, it returns `NULL` and prints a message suggesting to run `build_backend()`.
check_jax_availability(conda_env = "fastrerandomize_env", conda = "auto")
Returns `TRUE` (invisibly) if both 'Python' and 'JAX' are available; otherwise returns `NULL`.
A character string specifying the name of the conda environment. Default is `"fastrerandomize_env"`.
The path to a conda executable, or `"auto"`. Default is `"auto"`.
if (FALSE) { check_jax_availability() }
Run the code above in your browser using DataLab