jlbind_sitrep()
#> ── Julia (for building the library)
#> ✔ Julia 1.13.2 at /usr/bin/julia (from PATH)
#> ── Library
#> ✖ /home/runner/.local/share/R/jlbind/library/jlbind.so (default)
#> ✖ it has not been built
#> ── Packages that use jlbind
#> none installed
#> ── Threads
#> 1 Julia thread (JULIA_NUM_THREADS unset)Report on the jlbind setup
Source: R/sitrep.R
Description
Prints a report to run when a package that uses jlbind doesn’t work. It shows the Julia that builds the library, the library that is loaded (or would be) and what it was built from, the installed packages that use jlbind and whether the library is current for each, and the Julia thread count. It also works before a library has loaded.
Usage
jlbind_sitrep(julia = NULL)Arguments
julia
|
Path to the julia executable. By default, the JULIA environment variable, or julia on the PATH.
|
Value
Invisibly, a list with:
-
julia: a list withpath(NAif Julia was not found),source("argument","JULIA"or"PATH"),version(NAif it could not be run) andok(whether it is Julia 1.13 or later). -
library: a list withpath,how("loaded","failed to load","JLBIND_LIBRARY"or"default"),exists,build(how it was built: the jlbind and Julia versions, when, and whether it is trimmed, orNULL),problems(why it should be rebuilt or cannot load; empty if none) andobjects(how many Julia objects R holds references to, orNULLif no library is loaded). -
clients: a data frame with one row per package that uses jlbind or that the library was built for, with the columnspackage,version(installed),built(the version in the library),status("ok","left out","not in the library","built for version <v>","Julia code changed"or"not installed") andbound. -
threads: a list withcount(fromJULIA_NUM_THREADS) andfixed(TRUEonce a library is loaded, after which the count cannot change).