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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: coef.trophicSDMfit
> ### Title: Gets regression coefficients from a fitted trophicSDM model.
> ### Aliases: coef.trophicSDMfit
> 
> ### ** Examples
> 
> data(Y, X, G)
> # define abiotic part of the model
> env.formula = "~ X_1 + X_2"
> # Run the model with bottom-up control using stan_glm as fitting method and no penalisation
> # (set iter = 1000 to obtain reliable results)
> m = trophicSDM(Y,X,G, env.formula, iter = 100,
+                family = binomial(link = "logit"), penal = NULL, 
+                mode = "prey", method = "stan_glm")
Warning: Bulk Effective Samples Size (ESS) is too low, indicating posterior means and medians may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#bulk-ess
Warning: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#tail-ess
Warning: The largest R-hat is 1.06, indicating chains have not mixed.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#r-hat
Warning: Bulk Effective Samples Size (ESS) is too low, indicating posterior means and medians may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#bulk-ess
Warning: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#tail-ess
Warning: Bulk Effective Samples Size (ESS) is too low, indicating posterior means and medians may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#bulk-ess
Warning: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#tail-ess
Warning: Bulk Effective Samples Size (ESS) is too low, indicating posterior means and medians may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#bulk-ess
Warning: Tail Effective Samples Size (ESS) is too low, indicating posterior variances and tail quantiles may be unreliable.
Running the chains for more iterations may help. See
https://mc-stan.org/misc/warnings.html#tail-ess
Warning in file(messages, open = "wt") :
  cannot open file '/home/hornik/tmp/scratch/RtmpVgFD3D/file370635169bb35b': No such file or directory
Error in file(messages, open = "wt") : cannot open the connection
Calls: trophicSDM ... do.call -> <Anonymous> -> <Anonymous> -> .local -> file
Execution halted
Examples with CPU (user + system) or elapsed time > 5s
             user system elapsed
coef.SDMfit 4.128  0.052   5.089