Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [29s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(quadrupen)
  Loading required package: Rcpp
  Loading required package: ggplot2
  Loading required package: Matrix
  
  ------------------------------------------------------
    'quadrupen' package version 0.2-9                   
  
   Dev version on https://github.com/jchiquet/quadrupen 
  ------------------------------------------------------
  > 
  > test_check("quadrupen")
  
    * tiny-size problem...
  	Timings with warm-restart along the path
  		from stratch (cholesky):  0.021
  		from stratch (conjugate-gradient):  0.003
  		CG starting from sparser solution:  0.003
    * small-size problem, with correlation...
  	Timings with warm-restart along the path
  		from stratch (cholesky):  0.519
  		from stratch (conjugate-gradient):  0.504
  		CG starting from sparser solution:  0.472
  	Problem with 10000 predictors and 500 samples, 50 true nonzeros in beta.star.
  	The densely encoded design matrix weights 19.07 Mo.
  	The sparsely encoded design matrix weights 2.84 Mo.
  	dense coding... took 18.006 seconds to activate 473 variables.
  	sparse coding... took 11.468 seconds to activate 473 variables.
    * tiny-size problem...
  	Timings with warm-restart along the path
  		from stratch:  0.003
  		starting from sparser solution:  0.003
  		starting from more dense solution:  0.003
    * small-size problem, with correlation...
  	Timings with warm-restart along the path
  		from stratch:  0.502
  		starting from sparser solution:  0.425
  		starting from more dense solution:  0.537[ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-lasso.R:108'): lasso_quad2glmnet ─────────────────────────────
  `x` not equivalent to `expected`.
  Component "mu": Mean relative difference: 1.579193e-08
  Backtrace:
      ▆
   1. └─testthat::expect_that(quad, is_equivalent_to(glmn)) at test-lasso.R:108:2
   2.   └─testthat (local) condition(object)
   3.     └─testthat::expect_equivalent(x, expected, expected.label = label)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
  Error: Test failures
  Execution halted