R Session Aborts when attempting to run moment_match = TRUE for loo


I have been attempting to run moment matching as recommended by loo due multiple pareto k values > 0.7 in my model using the following code: add_criterion(bayesmodel_training, criterion = “loo”, moment_match = T).

My RStudio session continues to abort a few seconds after running this code. I tried clearing my RStudio memory and using “options(mc.cores = parallel::detectCores())” prior to running moment matching with no success.

  • Operating System: Windows 10
  • brms Version: 2.18.0