Running ‘tinytest.R’ [9s/13s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > 
  > if ( requireNamespace("tinytest", quietly=TRUE) ){
  +   # To skip running the tests on CRAN make them run only on the developer version 
  +   home <- length(unclass(packageVersion("bsvars"))[[1]]) == 4
  +   tinytest::test_package("bpvars")
  + }
  Loading required package: bsvars
  
  Attaching package: 'bpvars'
  
  The following object is masked from 'package:bsvars':
  
      forecast
  
  
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    0 tests    
  test_compute_variance_decomposition.R    1 tests OK 
  test_compute_variance_decomposition.R    2 tests OK 
  test_compute_variance_decomposition.R    3 tests OK 4.4s
  
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    0 tests    
  test_estimate_bvarpanel.R.....    1 tests OK 
  test_estimate_bvarpanel.R.....    2 tests OK 
  test_estimate_bvarpanel.R.....    3 tests OK 
  test_estimate_bvarpanel.R.....    4 tests OK 
  test_estimate_bvarpanel.R.....    5 tests OK 5.8s
  
  test_forecast.R...............    0 tests    
  test_forecast.R...............    0 tests    
  test_forecast.R...............    0 tests    
  test_forecast.R...............    0 tests    Error in aperm(fff$forecasts_cpp[c, 1][[1]], c(2, 1, 3)) : 
    R_Reprotect: only -2 protected items, can't reprotect index -4
  Calls: <Anonymous> ... eval -> forecast -> forecast.PosteriorBVARPANEL -> aperm
  Execution halted