CRAN Package Check Results for Package TBSSurvival

Last updated on 2016-09-26 08:49:38.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2 2.43 44.93 47.35 WARN --no-tests
r-devel-linux-x86_64-debian-gcc 1.2 2.20 43.50 45.70 WARN --no-tests
r-devel-linux-x86_64-fedora-clang 1.2 1889.97 ERROR
r-devel-linux-x86_64-fedora-gcc 1.2 1891.82 ERROR
r-devel-macos-x86_64-clang 1.2 1881.70 ERROR
r-devel-windows-ix86+x86_64 1.2 9.00 0.00 9.00 WARN
r-patched-linux-x86_64 1.2 2.28 43.91 46.19 NOTE --no-tests
r-patched-solaris-sparc 1.2 581.30 NOTE
r-patched-solaris-x86 1.2 125.20 NOTE
r-release-linux-x86_64 1.2 2.31 44.13 46.44 NOTE --no-tests
r-release-osx-x86_64-mavericks 1.2 NOTE
r-release-windows-ix86+x86_64 1.2 16.00 100.00 116.00 NOTE
r-oldrel-windows-ix86+x86_64 1.2 10.00 124.00 134.00 OK

Check Details

Version: 1.2
Flags: --no-tests
Check: R code for possible problems
Result: NOTE
    .dunif.exp: no visible global function definition for ‘dunif’
    .dunif.exp: no visible global function definition for ‘dexp’
    .logpost: no visible global function definition for ‘dnorm’
    .pt2: no visible global function definition for ‘pbeta’
    .qt2: no visible global function definition for ‘qbeta’
    .rlogis2: no visible global function definition for ‘runif’
    .rt2: no visible global function definition for ‘runif’
    .tbs.survreg: no visible global function definition for ‘model.frame’
    .tbs.survreg: no visible global function definition for ‘model.matrix’
    .tbs.survreg: no visible global function definition for
     ‘model.response’
    .tbs.survreg: no visible global function definition for ‘runif’
    .tbs.survreg: no visible global function definition for ‘optim’
    dist.error : <anonymous>: no visible global function definition for
     ‘dnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘pnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘qnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘rnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘dcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘pcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘qcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘rcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘dlogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘plogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘qlogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘rlogis’
    lines.tbs.survreg.be: no visible global function definition for ‘lines’
    lines.tbs.survreg.be: no visible binding for global variable ‘quantile’
    lines.tbs.survreg.mle: no visible global function definition for
     ‘lines’
    plot.tbs.survreg.be: no visible global function definition for ‘plot’
    plot.tbs.survreg.be: no visible binding for global variable ‘quantile’
    plot.tbs.survreg.be: no visible global function definition for ‘lines’
    plot.tbs.survreg.be: no visible global function definition for ‘hist’
    plot.tbs.survreg.be: no visible global function definition for ‘par’
    plot.tbs.survreg.be: no visible global function definition for ‘acf’
    plot.tbs.survreg.be: no visible global function definition for ‘ts’
    plot.tbs.survreg.mle: no visible global function definition for ‘plot’
    plot.tbs.survreg.mle: no visible global function definition for ‘lines’
    plot.tbs.survreg.mle: no visible global function definition for ‘hist’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘qqplot’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘ppoints’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘qqline’
    summary.tbs.survreg.mle: no visible global function definition for
     ‘pnorm’
    tbs.survreg.be: no visible global function definition for ‘model.frame’
    tbs.survreg.be: no visible global function definition for
     ‘model.matrix’
    tbs.survreg.be: no visible global function definition for
     ‘model.response’
    tbs.survreg.be: no visible global function definition for ‘sd’
    tbs.survreg.be: no visible binding for global variable ‘sd’
    Undefined global functions or variables:
     acf dcauchy dexp dlogis dnorm dunif hist lines model.frame
     model.matrix model.response optim par pbeta pcauchy plogis plot pnorm
     ppoints qbeta qcauchy qlogis qnorm qqline qqplot quantile rcauchy
     rlogis rnorm runif sd ts
    Consider adding
     importFrom("graphics", "hist", "lines", "par", "plot")
     importFrom("stats", "acf", "dcauchy", "dexp", "dlogis", "dnorm",
     "dunif", "model.frame", "model.matrix", "model.response",
     "optim", "pbeta", "pcauchy", "plogis", "pnorm", "ppoints",
     "qbeta", "qcauchy", "qlogis", "qnorm", "qqline", "qqplot",
     "quantile", "rcauchy", "rlogis", "rnorm", "runif", "sd",
     "ts")
    to your NAMESPACE file.
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: 1.2
Flags: --no-tests
Check: for unstated dependencies in ‘tests’
Result: WARN
    'library' or 'require' calls not declared from:
     ‘R.methodsS3’ ‘R.oo’ ‘ipred’ ‘truncnorm’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.2
Check: R code for possible problems
Result: NOTE
    .dunif.exp: no visible global function definition for ‘dunif’
    .dunif.exp: no visible global function definition for ‘dexp’
    .logpost: no visible global function definition for ‘dnorm’
    .pt2: no visible global function definition for ‘pbeta’
    .qt2: no visible global function definition for ‘qbeta’
    .rlogis2: no visible global function definition for ‘runif’
    .rt2: no visible global function definition for ‘runif’
    .tbs.survreg: no visible global function definition for ‘model.frame’
    .tbs.survreg: no visible global function definition for ‘model.matrix’
    .tbs.survreg: no visible global function definition for
     ‘model.response’
    .tbs.survreg: no visible global function definition for ‘runif’
    .tbs.survreg: no visible global function definition for ‘optim’
    dist.error : <anonymous>: no visible global function definition for
     ‘dnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘pnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘qnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘rnorm’
    dist.error : <anonymous>: no visible global function definition for
     ‘dcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘pcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘qcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘rcauchy’
    dist.error : <anonymous>: no visible global function definition for
     ‘dlogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘plogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘qlogis’
    dist.error : <anonymous>: no visible global function definition for
     ‘rlogis’
    lines.tbs.survreg.be: no visible global function definition for ‘lines’
    lines.tbs.survreg.be: no visible binding for global variable ‘quantile’
    lines.tbs.survreg.mle: no visible global function definition for
     ‘lines’
    plot.tbs.survreg.be: no visible global function definition for ‘plot’
    plot.tbs.survreg.be: no visible binding for global variable ‘quantile’
    plot.tbs.survreg.be: no visible global function definition for ‘lines’
    plot.tbs.survreg.be: no visible global function definition for ‘hist’
    plot.tbs.survreg.be: no visible global function definition for ‘par’
    plot.tbs.survreg.be: no visible global function definition for ‘acf’
    plot.tbs.survreg.be: no visible global function definition for ‘ts’
    plot.tbs.survreg.mle: no visible global function definition for ‘plot’
    plot.tbs.survreg.mle: no visible global function definition for ‘lines’
    plot.tbs.survreg.mle: no visible global function definition for ‘hist’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘qqplot’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘ppoints’
    plot.tbs.survreg.mle: no visible global function definition for
     ‘qqline’
    summary.tbs.survreg.mle: no visible global function definition for
     ‘pnorm’
    tbs.survreg.be: no visible global function definition for ‘model.frame’
    tbs.survreg.be: no visible global function definition for
     ‘model.matrix’
    tbs.survreg.be: no visible global function definition for
     ‘model.response’
    tbs.survreg.be: no visible global function definition for ‘sd’
    tbs.survreg.be: no visible binding for global variable ‘sd’
    Undefined global functions or variables:
     acf dcauchy dexp dlogis dnorm dunif hist lines model.frame
     model.matrix model.response optim par pbeta pcauchy plogis plot pnorm
     ppoints qbeta qcauchy qlogis qnorm qqline qqplot quantile rcauchy
     rlogis rnorm runif sd ts
    Consider adding
     importFrom("graphics", "hist", "lines", "par", "plot")
     importFrom("stats", "acf", "dcauchy", "dexp", "dlogis", "dnorm",
     "dunif", "model.frame", "model.matrix", "model.response",
     "optim", "pbeta", "pcauchy", "plogis", "pnorm", "ppoints",
     "qbeta", "qcauchy", "qlogis", "qnorm", "qqline", "qqplot",
     "quantile", "rcauchy", "rlogis", "rnorm", "runif", "sd",
     "ts")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64

Version: 1.2
Check: for unstated dependencies in ‘tests’
Result: WARN
    'library' or 'require' calls not declared from:
     ‘R.methodsS3’ ‘R.oo’ ‘ipred’ ‘truncnorm’
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-macos-x86_64-clang

Version: 1.2
Check: tests
Result: ERROR
    Running the tests in ‘tests/article.r’ failed.
    Last 13 lines of output:
     Median time: 167.57
     > cat("95% c.i.: (",round(exp(tbs.mle$norm$beta+qnorm(0.025,0,1)*tbs.mle$norm$beta.se),2),", ",
     + round(exp(tbs.mle$norm$beta+qnorm(0.975,0,1)*tbs.mle$norm$beta.se),2),")\n",sep="")
     95% c.i.: (155.41, 180.68)
     >
     > ###########
     > ## Part of the Bayesian estimation
     > cat("\n"); cat("Bayesian Estimation:\n")
    
     Bayesian Estimation:
     >
     > ## Bayesian Estimation
     > ## We run for each of the five error functions
     > tbs.bayes.norm <- tbs.survreg.be(survival::Surv(alloyT7987$time,alloyT7987$delta) ~ 1,dist=dist.error("norm"),
     + burn=500000,jump=2000,size=1000,scale=0.07)
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.2
Check: tests
Result: ERROR
    Running the tests in ‘tests/article.r’ failed.
    Last 13 lines of output:
     + round(exp(tbs.mle$norm$beta+qnorm(0.975,0,1)*tbs.mle$norm$beta.se),2),")\n",sep="")
     95% c.i.: (155.41, 180.68)
     >
     > ###########
     > ## Part of the Bayesian estimation
     > cat("\n"); cat("Bayesian Estimation:\n")
    
     Bayesian Estimation:
     >
     > ## Bayesian Estimation
     > ## We run for each of the five error functions
     > tbs.bayes.norm <- tbs.survreg.be(survival::Surv(alloyT7987$time,alloyT7987$delta) ~ 1,dist=dist.error("norm"),
     + burn=500000,jump=2000,size=1000,scale=0.07)
     > tbs.bayes.t <- tbs.survreg.be(survival::Surv(alloyT7987$time,alloyT7987$delta) ~ 1,dist=dist.error("t"),
     + burn=500000,jump=2000,size=1000,scale=0.07)
Flavor: r-devel-macos-x86_64-clang

Version: 1.2
Check: for unstated dependencies in ‘tests’
Result: WARN
    'library' or 'require' calls not declared from:
     'R.methodsS3' 'R.oo' 'ipred' 'truncnorm'
    Check process probably crashed or hung up for 20 minutes ... killed
    Most likely this happened in the example checks (?),
    if not, ignore the following last lines of example output:
    > formula <- survival::Surv(alloyT7987$time,alloyT7987$delta == 1) ~ 1
    > tbs.mle <- tbs.survreg.mle(formula,dist=dist.error("logistic"),method="Nelder-Mead",nstart=3)
    >
    > # Kaplan-Meier estimation
    > km <- survival::survfit(formula)
    >
    > # Plot survival function
    > plot(tbs.mle)
    > lines(km)
    >
    > # Plot hazard function
    > plot(tbs.mle, plot.type="hazard")
    >
    >
    >
    >
    > ### * <FOOTER>
    > ###
    > options(digits = 7L)
    > base::cat("Time elapsed: ", proc.time() - base::get("ptime", pos = 'CheckExEnv'),"\n")
    Time elapsed: 8.91 0.3 9.92 NA NA
    > grDevices::dev.off()
    null device
     1
    > ###
    > ### Local variables: ***
    > ### mode: outline-minor ***
    > ### outline-regexp: "\\(> \\)?### [*]+" ***
    > ### End: ***
    > quit('no')
    ======== End of example output (where/before crash/hang up occured ?) ========
Flavor: r-devel-windows-ix86+x86_64