CRAN Package Check Results for Package glmnet

Last updated on 2021-02-27 06:46:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 4.1-1 31.31 279.94 311.25 OK
r-devel-linux-x86_64-debian-gcc 4.1-1 25.65 208.03 233.68 OK
r-devel-linux-x86_64-fedora-clang 4.1-1 394.75 OK
r-devel-linux-x86_64-fedora-gcc 4.1-1 250.93 OK
r-devel-windows-ix86+x86_64 4.1 48.00 329.00 377.00 OK
r-patched-linux-x86_64 4.1-1 28.53 266.15 294.68 OK
r-patched-solaris-x86 4.1-1 272.10 ERROR
r-release-linux-x86_64 4.1-1 29.69 267.79 297.48 OK
r-release-macos-x86_64 4.1-1 OK
r-release-windows-ix86+x86_64 4.1 67.00 442.00 509.00 OK
r-oldrel-macos-x86_64 4.1-1 OK
r-oldrel-windows-ix86+x86_64 4.1 48.00 427.00 475.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) and/or pandoc-citeproc not available. Falling back to R Markdown v1.
    
    (process:15822): Pango-WARNING **: failed to create cairo scaled font, expect ugly output. the offending font is 'Helvetica Medium 9'
    
    (process:15822): Pango-WARNING **: font_face status is: <unknown error status>
    
    (process:15822): Pango-WARNING **: scaled_font status is: invalid matrix (not invertible)
    
    (process:15822): 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) and/or pandoc-citeproc 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) and/or pandoc-citeproc 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) and/or pandoc-citeproc 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