if (FALSE) { # Sys.getenv("NOT_CRAN") == "true"
# Start a Julia session and activate the Julia environment for sdbuildR
use_julia()
# Start Julia with 2 threads (only works if threading is supported)
use_julia(nthreads = 2)
# Restart Julia session (in case of issues)
use_julia(restart = TRUE)
# Stop Julia session
use_julia(stop = TRUE)
}
Run the code above in your browser using DataLab