R Under development (unstable) (2024-06-24 r86823 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(quadrupen) Loading required package: Rcpp Loading required package: ggplot2 Loading required package: Matrix ------------------------------------------------------ 'quadrupen' package version 0.2-12 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.03 from stratch (conjugate-gradient): 0 CG starting from sparser solution: 0 * small-size problem, with correlation... Timings with warm-restart along the path from stratch (cholesky): 0.3 from stratch (conjugate-gradient): 0.25 CG starting from sparser solution: 0.14 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.85 Mo. dense coding... took 22.75 seconds to activate 497 variables. sparse coding... took 18.89 seconds to activate 497 variables. * tiny-size problem... Timings with warm-restart along the path from stratch: 0.02 starting from sparser solution: 0 starting from more dense solution: 0 * small-size problem, with correlation... Timings with warm-restart along the path from stratch: 0.39 starting from sparser solution: 0.21 starting from more dense solution: 0.36[ FAIL 0 | WARN 0 | SKIP 0 | PASS 50 ] > > proc.time() user system elapsed 21.20 29.84 51.07