Running examples in ‘rACMEMEEV-Ex.R’ failed
The error most likely occurred in:

> ### Name: sensitivity_analysis
> ### Title: Run a sensitivity analysis on the error adjustment
> ### Aliases: sensitivity_analysis
> 
> ### ** Examples
> 
> columns <- c("fruit", "veg", "tobacco")
> data <- data.frame(
+  list(
+    "BMI" = rnorm(5, mean = 0, sd = 1),
+    "fruit" = rnorm(5, mean = 0, sd = 1),
+    "veg" = rnorm(5, mean = 0, sd = 1),
+    "tobacco" = rnorm(5, mean = 0, sd = 1)
+  )
+ )
> parameters <- list(
+   fruit = c(0.3),
+   veg = c(0.25),
+   tobacco = c(0.4)
+ )
> output_jags <- sensitivity_analysis(
+   parameters,
+   data,
+   "BMI ~ fruit + veg + tobacco",
+   columns
+ )
Loading required namespace: Rmpi
	2 slaves are spawned successfully. 0 failed.
starting MPI worker
starting MPI worker

  |                                                                            
  |                                                                      |   0%Type: EXEC 
Loading required package: rACMEMEEV
loaded rACMEMEEV and set parent environment
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2025 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Linked to JAGS 4.3.2
Loaded modules: basemod,bugs
Loading required package: StanHeaders

rstan version 2.32.7 (Stan version 2.32.2)

For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores()).
To avoid recompilation of unchanged Stan programs, we recommend calling
rstan_options(auto_write = TRUE)
For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions,
change `threads_per_chain` option:
rstan_options(threads_per_chain = 1)


Attaching package: ‘rstan’

The following object is masked from ‘package:coda’:

    traceplot

Type: EXEC 
Loading required package: rACMEMEEV
loaded rACMEMEEV and set parent environment
Loading required package: coda
Loading required package: MASS
##
## Markov Chain Monte Carlo Package (MCMCpack)
## Copyright (C) 2003-2025 Andrew D. Martin, Kevin M. Quinn, and Jong Hee Park
##
## Support provided by the U.S. National Science Foundation
## (Grants SES-0350646 and SES-0350613)
##
Linked to JAGS 4.3.2
Loaded modules: basemod,bugs
Loading required package: StanHeaders

rstan version 2.32.7 (Stan version 2.32.2)

For execution on a local, multicore CPU with excess RAM we recommend calling
options(mc.cores = parallel::detectCores()).
To avoid recompilation of unchanged Stan programs, we recommend calling
rstan_options(auto_write = TRUE)
For within-chain threading using `reduce_sum()` or `map_rect()` Stan functions,
change `threads_per_chain` option:
rstan_options(threads_per_chain = 1)


Attaching package: ‘rstan’

The following object is masked from ‘package:coda’:

    traceplot

Type: EXEC 
Compiling model graph
   Resolving undeclared variables
   Allocating nodes
Graph information:
   Observed stochastic nodes: 5
   Unobserved stochastic nodes: 4
   Total graph size: 71

Initializing model


  |                                                                            
  |======================================================================| 100%Type: DONE 
Type: DONE 
[gannet.stats.ox.ac.uk:1746870] OPAL ERROR: Unreachable in file dpm/dpm.c at line 667

Execution halted