CRAN Package Check Results for Package glmnet

Last updated on 2021-05-17 17:47:59 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.1-1 31.83 280.71 312.54 OK
r-devel-linux-x86_64-debian-gcc 4.1-1 26.65 207.29 233.94 OK
r-devel-linux-x86_64-fedora-clang 4.1-1 368.52 OK
r-devel-linux-x86_64-fedora-gcc 4.1-1 363.38 OK
r-devel-windows-ix86+x86_64 4.1-1 70.00 412.00 482.00 OK
r-devel-windows-x86_64-gcc10-UCRT 4.1-1 OK
r-patched-linux-x86_64 4.1-1 29.48 269.52 299.00 OK
r-patched-solaris-x86 4.1-1 273.60 ERROR
r-release-linux-x86_64 4.1-1 29.38 262.25 291.63 OK
r-release-macos-x86_64 4.1-1 OK
r-release-windows-ix86+x86_64 4.1-1 51.00 330.00 381.00 OK
r-oldrel-macos-x86_64 4.1-1 OK
r-oldrel-windows-ix86+x86_64 4.1-1 50.00 424.00 474.00 OK

Additional issues

M1mac

Check Details

Version: 4.1-1
Check: examples
Result: ERROR
    Running examples in ‘glmnet-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: cox.path
    > ### Title: Fit a Cox regression model with elastic net regularization for a
    > ### path of lambda values
    > ### Aliases: cox.path
    >
    > ### ** Examples
    >
    > set.seed(2)
    > nobs <- 100; nvars <- 15
    > xvec <- rnorm(nobs * nvars)
    > xvec[sample.int(nobs * nvars, size = 0.4 * nobs * nvars)] <- 0
    > x <- matrix(xvec, nrow = nobs)
    > beta <- rnorm(nvars / 3)
    > fx <- x[, seq(nvars / 3)] %*% beta / 3
    > ty <- rexp(nobs, exp(fx))
    > tcens <- rbinom(n = nobs, prob = 0.3, size = 1)
    > jsurv <- survival::Surv(ty, tcens)
    > fit1 <- glmnet:::cox.path(x, jsurv)
    >
    > # works with sparse x matrix
    > x_sparse <- Matrix::Matrix(x, sparse = TRUE)
    > fit2 <- glmnet:::cox.path(x_sparse, jsurv)
    Error in elnet.fit(x, z, w, lambda, alpha, intercept = FALSE, thresh = thresh, :
     NA/NaN/Inf in foreign function call (arg 23)
    Calls: <Anonymous> -> cox.fit -> elnet.fit
    Execution halted
Flavor: r-patched-solaris-x86

Version: 4.1-1
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
     ...
    --- re-building ‘Coxnet.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    
    (process:27877): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Helvetica Medium 9'
    
    (process:27877): Pango-WARNING **: font_face status is: <unknown error status>
    
    (process:27877): Pango-WARNING **: scaled_font status is: invalid matrix (not invertible)
    
    (process:27877): Pango-WARNING **: shaping failure, expect ugly output. shape-engine='BasicEngineFc', font='Helvetica Medium 9', text='m'
    Quitting from lines 189-191 (Coxnet.Rmd)
    Error: processing vignette 'Coxnet.Rmd' failed with diagnostics:
    NA/NaN/Inf in foreign function call (arg 19)
    --- failed re-building ‘Coxnet.Rmd’
    
    --- re-building ‘glmnet.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Loaded lars 1.2
    
    --- finished re-building ‘glmnet.Rmd’
    
    --- re-building ‘glmnetFamily.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    Loading required package: Matrix
    Loaded glmnet 4.1-1
    Quitting from lines 86-89 (glmnetFamily.Rmd)
    Error: processing vignette 'glmnetFamily.Rmd' failed with diagnostics:
    NA/NaN/Inf in foreign function call (arg 25)
    --- failed re-building ‘glmnetFamily.Rmd’
    
    --- re-building ‘relax.Rmd’ using rmarkdown
    Warning in engine$weave(file, quiet = quiet, encoding = enc) :
     Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
    --- finished re-building ‘relax.Rmd’
    
    SUMMARY: processing the following files failed:
     ‘Coxnet.Rmd’ ‘glmnetFamily.Rmd’
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-patched-solaris-x86