View source: R/local_testthat.R
exc_safe_inla | R Documentation |
Loads the INLA package with requireNamespace("INLA", quietly = TRUE)
, and
optionally checks and sets the multicore num.threads
INLA option.
exc_safe_inla(multicore = NULL, quietly = FALSE)
multicore |
logical; if |
quietly |
logical; if |
logical; TRUE
if INLA was loaded safely, otherwise FALSE
## Not run:
if (exc_safe_inla()) {
# Run inla dependent calculations
}
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.