Skip to contents

Checks which inference backends flexyBayes can route to are installed and usable in the current session, returning a small table you can inspect before fitting. The check is read-only: it probes package availability without building a model or starting a fit.

Usage

fb_backend_status(deep = TRUE)

Arguments

deep

Logical. Currently unused (reserved for a future backend whose readiness probe is expensive enough to need an opt-out). Default TRUE.

Value

A data frame of class fb_backend_status with one row per backend and the columns backend, installed (logical), usable (logical), and note (a human-readable status, including the install command when a backend is absent). A print method renders it as a readiness table.

Details

installed records whether the backend's R package is present. usable records whether the backend can actually run a fit now.

See also

flexybayes() for the universal entry, and the fb_inla() / fb_brms() single-engine pins.

Examples

fb_backend_status()
#> flexyBayes backend readiness
#> ----------------------------------------------------------------
#>   [ok] INLA    ready (approximate inference: integrated nested Laplace)
#>   [ok] brms    ready (MCMC via Stan; first-call compile)