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
    )
  }
}
mandymejia/templateICAr documentation built on June 2, 2025, 7:11 a.m.