Identifies the builds of packages as loaded in the running
session. Two processes run the same build of a package when its
fingerprints are identical; parallel BayesTools computation (e.g.,
JAGS_fit() and JAGS_runtime_cluster()) requires this of every worker,
and packages can use it to key caches by build.
JAGS_package_builds(packages)A list named by packages. An element is NULL when
the package cannot be loaded, and otherwise a list with the package
version, r_code (a hash of the functions and immutable
constants defined in the loaded namespace, so an installed package and an
equivalent development load agree), and dll (MD5 sums of the
package's loaded native libraries).
JAGS_package_builds("stats")$stats$version
#> [1] "4.6.2"