CRAN Package Check Results for Package MMMS

Last updated on 2021-07-09 09:53:02 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 7.14 67.78 74.92 ERROR
r-devel-linux-x86_64-debian-gcc 0.1 6.00 51.42 57.42 ERROR
r-devel-linux-x86_64-fedora-clang 0.1 98.90 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1 92.00 ERROR
r-devel-windows-x86_64 0.1 11.00 89.00 100.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.1 ERROR
r-patched-linux-x86_64 0.1 7.48 65.48 72.96 ERROR
r-patched-solaris-x86 0.1 132.90 ERROR
r-release-linux-x86_64 0.1 8.16 65.47 73.63 ERROR
r-release-macos-arm64 0.1 NOTE
r-release-macos-x86_64 0.1 NOTE
r-release-windows-ix86+x86_64 0.1 13.00 85.00 98.00 ERROR
r-oldrel-macos-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 16.00 87.00 103.00 ERROR

Check Details

Version: 0.1
Check: R code for possible problems
Result: NOTE
    get.score: no visible global function definition for 'sd'
    get.score: no visible global function definition for 'coef'
    get.score: no visible global function definition for 'as'
    get.score.main: no visible global function definition for 'sd'
    get.score.main: no visible global function definition for 'coef'
    get.subgroup: no visible global function definition for 'sd'
    sample.tte: no visible global function definition for 'runif'
    Undefined global functions or variables:
     as coef runif sd
    Consider adding
     importFrom("methods", "as")
     importFrom("stats", "coef", "runif", "sd")
    to your NAMESPACE file (and ensure that your DESCRIPTION Imports field
    contains 'methods').
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, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1
Check: examples
Result: ERROR
    Running examples in 'MMMS-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: get.score.main
    > ### Title: Calculation of composite scores based on a main-effect model
    > ### Aliases: get.score.main
    >
    > ### ** Examples
    >
    > # load the dataset
    > data(simdat)
    > attach(simdat)
    >
    > # get composite scores using a main-effect model
    > main.only=get.score.main(time,event,treat,bio,covar,nfolds=5,alpha=0.5)
    Error in glmnet(x, y, weights = weights, offset = offset, lambda = lambda, :
     the length of penalty.factor does not match the number of variables
    Calls: get.score.main -> cv.glmnet -> cv.glmnet.raw -> glmnet
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.1
Check: examples
Result: ERROR
    Running examples in ‘MMMS-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get.score.main
    > ### Title: Calculation of composite scores based on a main-effect model
    > ### Aliases: get.score.main
    >
    > ### ** Examples
    >
    > # load the dataset
    > data(simdat)
    > attach(simdat)
    >
    > # get composite scores using a main-effect model
    > main.only=get.score.main(time,event,treat,bio,covar,nfolds=5,alpha=0.5)
    Error in glmnet(x, y, weights = weights, offset = offset, lambda = lambda, :
     the length of penalty.factor does not match the number of variables
    Calls: get.score.main -> cv.glmnet -> cv.glmnet.raw -> glmnet
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.1
Check: examples
Result: ERROR
    Running examples in ‘MMMS-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: get.score
    > ### Title: Calculation of composite scores based on an interaction model
    > ### Aliases: get.score
    >
    > ### ** Examples
    >
    > # load the dataset
    > data(simdat)
    > attach(simdat)
    >
    > # get composite scores using an interaction model
    > score = get.score(time,event,treat,bio,covar,nfolds=5,alpha=0.5,
    + pos.direction=FALSE)
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Warning: from glmnet Fortran code (error code -30000); Numerical error at 0th lambda value; solutions for larger values of lambda returned
    Warning in getcoef(fit, nvars, nx, vnames) :
     an empty model has been returned; probably a convergence issue
    Error in intI(j, n = d[2], dn[[2]], give.dn = FALSE) :
     index larger than maximal 0
    Calls: get.score ... callGeneric -> eval -> eval -> [ -> [ -> subCsp_ij -> intI
    Execution halted
Flavor: r-patched-solaris-x86