CRAN Package Check Results for Package MMMS

Last updated on 2020-08-07 01:49:52 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1 6.05 68.12 74.17 NOTE
r-devel-linux-x86_64-debian-gcc 0.1 6.36 52.08 58.44 NOTE
r-devel-linux-x86_64-fedora-clang 0.1 96.88 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1 87.62 NOTE
r-devel-windows-ix86+x86_64 0.1 20.00 75.00 95.00 NOTE
r-patched-linux-x86_64 0.1 6.32 68.25 74.57 NOTE
r-patched-solaris-x86 0.1 123.10 ERROR
r-release-linux-x86_64 0.1 6.53 67.37 73.90 NOTE
r-release-macos-x86_64 0.1 NOTE
r-release-windows-ix86+x86_64 0.1 19.00 99.00 118.00 NOTE
r-oldrel-macos-x86_64 0.1 NOTE
r-oldrel-windows-ix86+x86_64 0.1 10.00 78.00 88.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