CRAN Package Check Results for Package MMMS

Last updated on 2019-12-11 22:51:14 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 6.85 66.93 73.78 NOTE
r-devel-linux-x86_64-debian-gcc 0.1 5.90 52.27 58.17 NOTE
r-devel-linux-x86_64-fedora-clang 0.1 89.50 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1 94.43 NOTE
r-devel-windows-ix86+x86_64 0.1 12.00 71.00 83.00 NOTE
r-devel-windows-ix86+x86_64-gcc8 0.1 13.00 103.00 116.00 NOTE
r-patched-linux-x86_64 0.1 5.56 62.60 68.16 NOTE
r-patched-solaris-x86 0.1 120.40 ERROR
r-release-linux-x86_64 0.1 7.25 60.04 67.29 NOTE
r-release-windows-ix86+x86_64 0.1 11.00 72.00 83.00 NOTE
r-release-osx-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 9.00 74.00 83.00 NOTE
r-oldrel-osx-x86_64 0.1 NOTE

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-ix86+x86_64, r-devel-windows-ix86+x86_64-gcc8, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-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