tests/testthat/setup.R

# Skip all tests if Julia is not available
tryCatch(
    {
        JuliaCall::julia_setup()
        # jlview_ensure_init() is called lazily, but force it here for tests
        jlview:::jlview_ensure_init()
        JULIA_AVAILABLE <- TRUE
    },
    error = function(e) {
        JULIA_AVAILABLE <<- FALSE
    }
)

Try the jlview package in your browser

Any scripts or data that you put into this service are public.

jlview documentation built on March 24, 2026, 1:07 a.m.