CRAN Package Check Results for Package MMMS

Last updated on 2020-10-11 01:47:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 7.18 70.37 77.55 NOTE
r-devel-linux-x86_64-debian-gcc 0.1 6.34 54.22 60.56 NOTE
r-devel-linux-x86_64-fedora-clang 0.1 101.95 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1 93.58 NOTE
r-devel-windows-ix86+x86_64 0.1 16.00 75.00 91.00 NOTE
r-patched-linux-x86_64 0.1 7.66 67.93 75.59 NOTE
r-patched-solaris-x86 0.1 128.20 ERROR
r-release-linux-x86_64 0.1 6.87 67.09 73.96 NOTE
r-release-macos-x86_64 0.1 NOTE
r-release-windows-ix86+x86_64 0.1 14.00 99.00 113.00 NOTE
r-oldrel-macos-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 14.00 88.00 102.00 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-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, 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:
    
    > ### 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