CRAN Package Check Results for Package ahaz

Last updated on 2019-03-24 11:50:56 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.14 8.41 62.52 70.93 NOTE
r-devel-linux-x86_64-debian-gcc 1.14 7.39 50.40 57.79 NOTE
r-devel-linux-x86_64-fedora-clang 1.14 86.04 NOTE
r-devel-linux-x86_64-fedora-gcc 1.14 81.10 NOTE
r-devel-windows-ix86+x86_64 1.14 24.00 100.00 124.00 NOTE
r-patched-linux-x86_64 1.14 6.59 59.11 65.70 NOTE
r-patched-solaris-x86 1.14 124.30 NOTE
r-release-linux-x86_64 1.14 0.37 2.26 2.63 ERROR
r-release-windows-ix86+x86_64 1.14 13.00 97.00 110.00 NOTE
r-release-osx-x86_64 1.14 NOTE
r-oldrel-windows-ix86+x86_64 1.14 12.00 121.00 133.00 ERROR
r-oldrel-osx-x86_64 1.14 NOTE

Check Details

Version: 1.14
Check: R code for possible problems
Result: NOTE
    ahaz: no visible global function definition for 'predict'
    ahaz.linterp: no visible global function definition for 'approx'
    ahazpen: no visible global function definition for 'new'
    coef.ahaz: no visible global function definition for 'predict'
    coef.ahazpen: no visible global function definition for 'predict'
    coef.tune.ahazpen: no visible global function definition for 'predict'
    error.bars: no visible global function definition for 'segments'
    plot.ahaz: no visible global function definition for 'predict'
    plot.ahaz: no visible global function definition for 'plot'
    plot.ahazpen: no visible global function definition for 'matplot'
    plot.ahazpen: no visible global function definition for 'axis'
    plot.ahazpen: no visible global function definition for 'mtext'
    plot.cumahaz: no visible global function definition for 'stepfun'
    plot.tune.ahazpen: no visible global function definition for 'abline'
    plot.tune.ahazpen: no visible global function definition for 'axis'
    plot.tune.ahazpen: no visible global function definition for 'mtext'
    predict.tune.ahazpen: no visible global function definition for
     'predict'
    print.ahaz: no visible global function definition for 'coef'
    print.summary.ahaz: no visible global function definition for
     'printCoefmat'
    residuals.ahaz: no visible global function definition for 'predict'
    sscad.control : init.sol: no visible global function definition for
     'coef'
    summary.ahaz: no visible global function definition for 'pchisq'
    summary.ahaz: no visible global function definition for 'pnorm'
    tune.ahazpen: no visible global function definition for 'coef'
    tune.ahazpen: no visible binding for global variable 'sd'
    Undefined global functions or variables:
     abline approx axis coef matplot mtext new pchisq plot pnorm predict
     printCoefmat sd segments stepfun
    Consider adding
     importFrom("graphics", "abline", "axis", "matplot", "mtext", "plot",
     "segments")
     importFrom("methods", "new")
     importFrom("stats", "approx", "coef", "pchisq", "pnorm", "predict",
     "printCoefmat", "sd", "stepfun")
    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-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.14
Check: compiled code
Result: NOTE
    File ‘ahaz/libs/ahaz.so’:
     Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’
    
    It is good practice to register native routines and to disable symbol
    search.
    
    See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.14
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-linux-x86_64

Version: 1.14
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'ahaz-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: predict.tune.ahazpen
    > ### Title: Prediction methods for tune.ahazpen
    > ### Aliases: predict.tune.ahazpen coef.tune.ahazpen
    > ### Keywords: methods
    >
    > ### ** Examples
    >
    > data(sorlie)
    >
    > set.seed(10101)
    >
    > # Break ties
    > time <- sorlie$time+runif(nrow(sorlie))*1e-2
    >
    > # Survival data + covariates
    > surv <- Surv(time,sorlie$status)
    > X <- as.matrix(sorlie[,3:ncol(sorlie)])
    >
    > # Fit additive hazards regression model w/lasso penalty
    > cv.fit <- tune.ahazpen(surv, X, dfmax=100, tune="cv")
    >
    > # Predict coefficients at cv.fit$lambda.min
    > coef(cv.fit)
    549 x 1 sparse Matrix of class "dgCMatrix"
    Error in isFALSE(suppRows) : could not find function "isFALSE"
    Calls: <Anonymous> -> <Anonymous> -> printSpMatrix2
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.14
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'ahaz-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: predict.tune.ahazpen
    > ### Title: Prediction methods for tune.ahazpen
    > ### Aliases: predict.tune.ahazpen coef.tune.ahazpen
    > ### Keywords: methods
    >
    > ### ** Examples
    >
    > data(sorlie)
    >
    > set.seed(10101)
    >
    > # Break ties
    > time <- sorlie$time+runif(nrow(sorlie))*1e-2
    >
    > # Survival data + covariates
    > surv <- Surv(time,sorlie$status)
    > X <- as.matrix(sorlie[,3:ncol(sorlie)])
    >
    > # Fit additive hazards regression model w/lasso penalty
    > cv.fit <- tune.ahazpen(surv, X, dfmax=100, tune="cv")
    >
    > # Predict coefficients at cv.fit$lambda.min
    > coef(cv.fit)
    549 x 1 sparse Matrix of class "dgCMatrix"
    Error in isFALSE(suppRows) : could not find function "isFALSE"
    Calls: <Anonymous> -> <Anonymous> -> printSpMatrix2
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64