# Not bound, as no package named mypkg has been loaded
is_bound("mypkg")
#> [1] FALSE
try(check_bound("mypkg"))
#> Error : Package mypkg has not asked to be bound; is it loaded, and does it call jlbind::bind_client() from its .onLoad()?Check whether a package is bound to the Julia library
Source: R/runtime.R
Description
is_bound() returns TRUE or FALSE. check_bound() gives an error that explains why the package isn’t bound.
Usage
is_bound(pkg)
check_bound(pkg)Arguments
pkg
|
Name of a package that uses jlbind. |
Value
is_bound(): TRUE or FALSE. check_bound(): TRUE (invisibly) if the package is bound, otherwise an error.