R/INLA_check.R

Defines functions INLA_check

Documented in INLA_check

#' Check for INLA
#'
#' @return \code{NULL}, invisibly
#'
#' @keywords internal
INLA_check <- function(){
  if (!requireNamespace("INLA", quietly = TRUE)) {
    stop(
      "Package \"INLA\" needed to for spatial modeling. ",
      "Please install it at https://www.r-inla.org/download-install.",
      call. = FALSE
    )
  }
}

Try the BayesBrainMap package in your browser

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

BayesBrainMap documentation built on Aug. 8, 2025, 7:25 p.m.