check_jax_availability {fastrerandomize} | R Documentation |
Check if 'Python' and 'JAX' are available
Description
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()'.
Usage
check_jax_availability(conda_env = "fastrerandomize", conda = "auto")
Arguments
conda_env |
A character string specifying the name of the conda environment. Default is '"fastrerandomize"'. |
conda |
The path to a conda executable, or '"auto"'. Default is '"auto"'. |
Value
Returns ‘TRUE' (invisibly) if both ’Python' and 'JAX' are available; otherwise returns 'NULL'.
Examples
## Not run:
check_jax_availability()
## End(Not run)
[Package fastrerandomize version 0.2 Index]