Running 'testthat.R' [28s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(factorstochvol)
  > 
  > test_check("factorstochvol")
  Drawing in one call to fsvsample...
     user  system elapsed 
     0.03    0.00    0.03 
  Drawing in many calls to fsvsample...
     user  system elapsed 
     0.02    0.00    0.03 
  Are they the same?
  Latest auxiliaries: TRUE 
  Latest (absolute) loadings: TRUE 
  Latest paras: TRUE 
  Absolute time difference: -0.01 0 -4.440892e-16 NA NA 
  Relative time difference: -0.3333333 NaN -1.480297e-14 NA NA 
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3960 ]
  
  == Failed tests ================================================================
  -- Error ('test-utilities.R:48'): predprecWB works -----------------------------
  Error in `solve.default(lala2)`: system is computationally singular: reciprocal condition number = 4.22118e-18
  Backtrace:
       x
    1. \-base::lapply(...) at test-utilities.R:48:2
    2.   \-factorstochvol (local) FUN(X[[i]], ...)
    3.     +-testthat::expect_warning(predprecWB(x), NA) at test-utilities.R:49:11
    4.     | \-testthat:::quasi_capture(...)
    5.     |   +-testthat (local) .capture(...)
    6.     |   | \-base::withCallingHandlers(...)
    7.     |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8.     \-factorstochvol::predprecWB(x)
    9.       +-base::tcrossprod(solve(lala2), lala)
   10.       +-base::solve(lala2)
   11.       \-base::solve.default(lala2)
  -- Error ('test-utilities.R:64'): predloglikWB works ---------------------------
  Error in `solve.default(lala2)`: system is computationally singular: reciprocal condition number = 6.77811e-17
  Backtrace:
       x
    1. \-base::lapply(...) at test-utilities.R:64:2
    2.   \-factorstochvol (local) FUN(X[[i]], ...)
    3.     +-testthat::expect_warning(...) at test-utilities.R:65:11
    4.     | \-testthat:::quasi_capture(...)
    5.     |   +-testthat (local) .capture(...)
    6.     |   | \-base::withCallingHandlers(...)
    7.     |   \-rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8.     \-factorstochvol::predloglikWB(x, matrix(0, 1, NCOL(y)))
    9.       \-factorstochvol::predprecWB(x, ahead, each)
   10.         +-base::tcrossprod(solve(lala2), lala)
   11.         +-base::solve(lala2)
   12.         \-base::solve.default(lala2)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 3960 ]
  Error: Test failures
  Execution halted