CRAN Package Check Results for Package quadrupen

Last updated on 2022-08-15 19:51:25 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2-8 125.61 197.99 323.60 NOTE
r-devel-linux-x86_64-debian-gcc 0.2-8 102.89 138.67 241.56 NOTE
r-devel-linux-x86_64-fedora-clang 0.2-8 413.89 NOTE
r-devel-linux-x86_64-fedora-gcc 0.2-8 434.15 NOTE
r-devel-windows-x86_64 0.2-8 107.00 238.00 345.00 OK
r-patched-linux-x86_64 0.2-8 106.69 183.96 290.65 OK
r-release-linux-x86_64 0.2-8 112.36 182.89 295.25 OK
r-release-macos-arm64 0.2-8 102.00 NOTE
r-release-macos-x86_64 0.2-8 221.00 NOTE
r-release-windows-x86_64 0.2-8 111.00 226.00 337.00 ERROR
r-oldrel-macos-arm64 0.2-8 117.00 NOTE
r-oldrel-macos-x86_64 0.2-8 180.00 NOTE
r-oldrel-windows-ix86+x86_64 0.2-8 299.00 369.00 668.00 OK

Check Details

Version: 0.2-8
Check: HTML version of manual
Result: NOTE
    Found the following HTML validation problems:
    bounded.reg.html:204:33: Warning: unescaped & or unknown entity "&beta"
    bounded.reg.html:213:1: Warning: inserting implicit <p>
    bounded.reg.html:213:1: Warning: trimming empty <p>
    bounded.reg.html:201:34: Warning: <center> element removed from HTML5
    elastic.net.html:210:33: Warning: unescaped & or unknown entity "&beta"
    elastic.net.html:219:1: Warning: inserting implicit <p>
    elastic.net.html:219:1: Warning: trimming empty <p>
    elastic.net.html:207:48: Warning: <center> element removed from HTML5
    quadrupen-package.html:57:33: Warning: unescaped & or unknown entity "&beta"
    quadrupen-package.html:67:1: Warning: inserting implicit <p>
    quadrupen-package.html:67:1: Warning: trimming empty <p>
    quadrupen-package.html:55:2: Warning: <center> element removed from HTML5
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.2-8
Check: installed package size
Result: NOTE
     installed size is 8.1Mb
     sub-directories of 1Mb or more:
     libs 7.6Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64

Version: 0.2-8
Check: tests
Result: ERROR
     Running 'spelling.R' [0s]
     Running 'testthat.R' [54s]
    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.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.67
     from stratch (conjugate-gradient): 0.57
     CG starting from sparser solution: 0.38
     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 20.82 seconds to activate 497 variables.
     sparse coding... took 16.48 seconds to activate 497 variables.
     * tiny-size problem...
     Timings with warm-restart along the path
     from stratch: 0.02
     starting from sparser solution: 0.02
     starting from more dense solution: 0
     * small-size problem, with correlation...
     Timings with warm-restart along the path
     from stratch: 0.54
     starting from sparser solution: 0.47
     starting from more dense solution: 0.66[ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Failure (test-sparse.R:54:3): Consistency of quadrupen between sparse/non-sparse encoding of the predictors ──
     `x` not equal to `expected`.
     Attributes: < Component "monitoring": Component "it.active": Mean relative difference: 0.03846154 >
     Attributes: < Component "monitoring": Component "it.optim": Numeric: lengths (613, 612) differ >
     Backtrace:
     ▆
     1. └─testthat::expect_that(out.enet.sp, equals(out.enet.ns)) at test-sparse.R:54:2
     2. └─testthat (local) condition(object)
     3. └─testthat::expect_equal(x, expected, ..., expected.label = label)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 49 ]
     Error: Test failures
     Execution halted
Flavor: r-release-windows-x86_64