local_exc_testthat: Unit test helpers

Description Usage Arguments Functions Examples

Description

Local helper functions for package unit tests

Usage

1
local_exc_safe_inla(multicore = FALSE, quietly = TRUE, envir = parent.frame())

Arguments

multicore

logical; if 'TRUE', multiple cores are allowed, and the INLA 'num.threads' option is not checked or altered. Default: 'FALSE', multicore not allowed (used for examples and unit tests).

quietly

logical; if 'TRUE', prints diagnostic messages. A message is always printed if the INLA 'num.threads' option is altered, regardless of the 'quietly' argument. Default: TRUE.

envir

environment for exit handlers

Functions

Examples

1
2
3
4
## Not run: 
local_exc_safe_inla(multicore = FALSE)

## End(Not run)

finnlindgren/excursions documentation built on Jan. 17, 2021, 12:20 a.m.