Running ‘spelling.R’
  Running ‘testthat.R’ [117s/145s]
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-8                   
  
   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.04
  		from stratch (conjugate-gradient):  0.004
  		CG starting from sparser solution:  0.004
    * small-size problem, with correlation...
  	Timings with warm-restart along the path
  		from stratch (cholesky):  1.856
  		from stratch (conjugate-gradient):  1.62
  		CG starting from sparser solution:  0.703
  	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 65.057 seconds to activate 495 variables.
  	sparse coding... took 36.47 seconds to activate 495 variables.
    * tiny-size problem...
  	Timings with warm-restart along the path
  		from stratch:  0.004
  		starting from sparser solution:  0.004
  		starting from more dense solution:  0.003
    * small-size problem, with correlation...
  	Timings with warm-restart along the path
  		from stratch:  2.394
  		starting from sparser solution:  1.339
  		starting from more dense solution:  2.22══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-lasso.R:96:3): lasso_quad2glmnet ────────────────────────────────
  Error in `glmnet(x, y, lambda.min.ratio = 0.01, thresh = 1e-20)`: could not find function "glmnet"
  ── Error (test-penscale.R:31:3): weighted_ quad2theo ───────────────────────────
  Error in `glmnet(x, y, penalty.factor = w, lambda.min.ratio = 0.01, thresh = 1e-20)`: could not find function "glmnet"
  
  [ FAIL 2 | WARN 1 | SKIP 0 | PASS 47 ]
  Error: Test failures
  Execution halted