Running ‘testthat.R’ [62s/63s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(svars)
  Loading required package: vars
  Loading required package: MASS
  Loading required package: strucchange
  Loading required package: zoo
  
  Attaching package: 'zoo'
  
  The following objects are masked from 'package:base':
  
      as.Date, as.Date.numeric
  
  Loading required package: sandwich
  Loading required package: urca
  Loading required package: lmtest
  Registered S3 method overwritten by 'svars':
    method           from
    stability.varest vars
  > 
  > test_check("svars")
  ── Skip (test-id_chol.R:4:3): id.chol 3-dims works ─────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-id_chol.R:19:3): id.chol 3-dims works with alternative ordering wi
  Reason: On CRAN
  
  ── Skip (test-id_chol.R:37:3): id.chol 3-dims works with alternative ordering wi
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:4:3): unrestricted id.cv estimation with 3-dim works ─────
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:27:3): unrestricted id.cv estimation with 3-dim works with
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:50:3): unrestricted id.cv estimation with 3-dim works with
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:73:3): unrestricted id.cv and boot estimation with 2-dim w
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:95:3): restricted id.cv and boot estimation with 3-dim wor
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:122:3): restricted id.cv and boot estimation with 2-dim wo
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:149:3): unrestricted id.cv and boot estimation with 5-dim 
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:172:3): restricted id.cv and boot estimation with 5-dim wo
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:204:3): unrestricted id.cv estimation with 3-dim works wit
  Reason: On CRAN
  
  ── Skip (test-id_cv.R:231:3): restricted id.cv estimation with 3-dim works with 
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:4:3): id.cvm 3-dims works ───────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:22:3): id.cvm 3-dims works with internal test stat calcul
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:39:3): id.cvm 2-dims works ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:57:3): id.cvm 2-dims works with internal test stat calcul
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:74:3): id.cvm 3-dims works ──────────────────────────────
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:93:3): restricted id.cvm 3-dims works with restricted var
  Reason: On CRAN
  
  ── Skip (test-id_cvm.R:117:3): restricted id.cvm 3-dims works with restricted va
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:4:3): id.ngml and id.ngml_boot 3-dim stage3 = FALSE work
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:22:3): id.ngml and boot 3-dim stage3 = TRUE works, no re
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:40:3): id.ngml and boot 2-dim stage3 = FALSE works, no r
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:59:3): id.ngml and boot 2-dim stage3 = FALSE works, no r
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:78:3): id.ngml and boot 2-dim stage3 = FALSE works, no r
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:97:3): id.ngml and boot 2-dim stage3 = TRUE works, no re
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:116:3): id.ngml and boot 2-dim stage3 = TRUE works, no r
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:135:3): id.ngml 2-dim stage3 = TRUE works, no restrictio
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:154:3): id.ngml and id.ngml_boot 3-dim stage3 = FALSE wo
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:177:3): id.ngml and boot 3-dim stage3 = TRUE works, with
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:200:3): id.ngml and boot 2-dim stage3 = FALSE works, wit
  Reason: On CRAN
  
  ── Skip (test-id_ngml.R:223:3): id.ngml 2-dim stage3 = TRUE works, with restrict
  Reason: On CRAN
  
  ── FAILURE (test-irf.R:10:3): irf works with 3-dims and p = 3 ──────────────────
  round(mean(unlist(x2$irf)), 5) not equal to 1.20369.
  1/1 mismatches
  [1] 1.2 - 1.2 == 1e-05
  
  ── Skip (test-likelihood_cv.R:4:3): Likelihood function within cv works for 3x3,
  Reason: On CRAN
  
  ── Skip (test-likelihood_cv.R:42:5): Likelihood function within cv works for 5x5
  Reason: On CRAN
  
  ── Skip (test-likelihood_cv.R:61:5): Likelihood function within cv works for 3x3
  Reason: On CRAN
  
  ── Skip (test-likelihood_cv.R:104:7): Likelihood function within cv works for 5x
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:4:3): Likelihood function within ngml, stage2 wo
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:36:3): Likelihood function within ngml, stage2 w
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:61:7): Likelihood function within ngml, stage2 w
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:88:7): Likelihood function within ngml, stage2 w
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:115:7): Likelihood function within ngml, stage2 
  Reason: On CRAN
  
  ── Skip (test-likelihood_ngml.R:140:7): Likelihood function within ngml, stage2 
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (42)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  FAILURE (test-irf.R:10:3): irf works with 3-dims and p = 3
  
  [ FAIL 1 | WARN 0 | SKIP 42 | PASS 65 ]
  Error: Test failures
  Execution halted