R/fibre-package.R

Defines functions .onLoad .onAttach

#' @keywords internal
"_PACKAGE"

## usethis namespace: start
## usethis namespace: end
NULL

.fibre_env <- new.env()
.fibre_env$multiple_order <- FALSE

.onAttach <- function(libname, pkgname) {

  if(!requireNamespace("INLA", quietly = TRUE)) {
    packageStartupMessage("Welcome to the fibre package. We noticed you don't have the R package INLA installed. INLA is required for fibre to work, so we recommend going to https://www.r-inla.org/download-install and following the instructions (since INLA is not on CRAN)")
  }

}

#' @importFrom methods new
#' @importFrom stats as.formula coef complete.cases formula predict rnorm sd setNames terms.formula
#' @importFrom utils data
.onLoad <- function(libname, pkgname) {
  
}
rdinnager/fibre documentation built on Dec. 14, 2024, 10:33 a.m.