Running 'testthat.R' [21s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(SplitReg)
  > 
  > test_check("SplitReg")
  -- 1. Failure: Equality over sparsity for p<n (@test_CV.R#53)  -----------------
  max(difs) is not less than 0.02. Difference: 0.144
  
  -- 2. Failure: Equality over diversity for p<n (@test_CV.R#69)  ----------------
  max(difs) is not less than 0.02. Difference: 0.177
  
  -- 3. Failure: Equality over sparsity for p>n (@test_CV.R#85)  -----------------
  max(difs) is not less than 0.02. Difference: 0.0342
  
  -- 4. Failure: Equality for p<n, alpha = 0 (@test_glmnet.R#52)  ----------------
  max(error) is not less than 1e-04. Difference: 0.000342
  
  -- 5. Failure: Equality for p<n, alpha = 0.5 (@test_glmnet.R#52)  --------------
  max(error) is not less than 1e-04. Difference: 0.00155
  
  -- 6. Failure: Equality for p>n, alpha = 0.5 (@test_glmnet.R#72)  --------------
  max(error) is not less than 1e-04. Difference: 0.000431
  
  -- 7. Failure: Equality for p<n, alpha = 0.75 (@test_glmnet.R#52)  -------------
  max(error) is not less than 1e-04. Difference: 0.00503
  
  -- 8. Failure: Equality for p>n, alpha = 0.75 (@test_glmnet.R#72)  -------------
  max(error) is not less than 1e-04. Difference: 0.00157
  
  -- 9. Failure: Equality for p<n, alpha = 1 (@test_glmnet.R#52)  ----------------
  max(error) is not less than 1e-04. Difference: 0.0159
  
  -- 10. Failure: Equality for p>n, alpha = 1 (@test_glmnet.R#72)  ---------------
  max(error) is not less than 1e-04. Difference: 0.00523
  
  == testthat results  ===========================================================
  [ OK: 61 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 10 ]
  1.  Failure: Equality over sparsity for p<n (@test_CV.R#53) 
  2.  Failure: Equality over diversity for p<n (@test_CV.R#69) 
  3.  Failure: Equality over sparsity for p>n (@test_CV.R#85) 
  4.  Failure: Equality for p<n, alpha = 0 (@test_glmnet.R#52) 
  5.  Failure: Equality for p<n, alpha = 0.5 (@test_glmnet.R#52) 
  6.  Failure: Equality for p>n, alpha = 0.5 (@test_glmnet.R#72) 
  7.  Failure: Equality for p<n, alpha = 0.75 (@test_glmnet.R#52) 
  8.  Failure: Equality for p>n, alpha = 0.75 (@test_glmnet.R#72) 
  9.  Failure: Equality for p<n, alpha = 1 (@test_glmnet.R#52) 
  10. Failure: Equality for p>n, alpha = 1 (@test_glmnet.R#72) 
  
  Error: testthat unit tests failed
  Execution halted