Loads the INLA package with requireNamespace("INLA", quietly = TRUE), and
optionally checks and sets the multicore num.threads INLA option.
Arguments
- multicore
logical; if
TRUE, multiple cores are allowed, and the INLAnum.threadsoption is not checked or altered. IfFALSE, forcesnum.threads="1:1". Default: NULL, checks if running in testthat or non-interactively, in which case setsmulticore=FALSE, otherwiseTRUE.- quietly
logical; if
TRUE, prints diagnostic messages. Default: FALSE.
