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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: bpvars-package
> ### Title: Forecasting with Bayesian Panel Vector Autoregressions
> ### Aliases: bpvars-package bpvars
> ### Keywords: models package ts
> 
> ### ** Examples
> 
> # Basic estimation and forecasting example
> ############################################################
> specification = specify_bvarPANEL$new(ilo_dynamic_panel[1:5]) # specify the model
> burn_in       = estimate(specification, S = 5)          # run the burn-in; use say S = 10000
**************************************************|
bpvars: Forecasting with Bayesian Panel VARs      |
**************************************************|
 Progress of the MCMC simulation for 5 draws
    Every draw is saved via MCMC thinning
 Press Esc to interrupt the computations
**************************************************|
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
> posterior     = estimate(burn_in, S = 5)                # estimate the model; use say S = 10000
**************************************************|
bpvars: Forecasting with Bayesian Panel VARs      |
**************************************************|
 Progress of the MCMC simulation for 5 draws
    Every draw is saved via MCMC thinning
 Press Esc to interrupt the computations
**************************************************|
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
> predictive    = forecast(posterior, 2)                  # forecast the future       
> 
> # workflow with the pipe |>
> ilo_dynamic_panel[1:5] |>
+   specify_bvarPANEL$new() |>
+   estimate(S = 5) |> 
+   estimate(S = 5) |> 
+   forecast(horizon = 2) -> predictive
**************************************************|
bpvars: Forecasting with Bayesian Panel VARs      |
**************************************************|
 Progress of the MCMC simulation for 5 draws
    Every draw is saved via MCMC thinning
 Press Esc to interrupt the computations
**************************************************|
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
**************************************************|
bpvars: Forecasting with Bayesian Panel VARs      |
**************************************************|
 Progress of the MCMC simulation for 5 draws
    Every draw is saved via MCMC thinning
 Press Esc to interrupt the computations
**************************************************|
0%   10   20   30   40   50   60   70   80   90   100%
[----|----|----|----|----|----|----|----|----|----|
**************************************************|
Error: no more error handlers available (recursive errors?); invoking 'abort' restart
Execution halted
Error in forecast.PosteriorBVARPANEL(estimate(estimate(specify_bvarPANEL$new(ilo_dynamic_panel[1:5]),  : 
  REAL() can only be applied to a 'numeric', not a 'NULL'
Fatal error: error during cleanup


 *** caught segfault ***
address 0x7fe20bb94ef7, cause 'invalid permissions'
Segmentation fault