CRAN Package Check Results for Package DistributionUtils

Last updated on 2017-12-20 00:46:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5-1 1.58 47.68 49.26 NOTE
r-devel-linux-x86_64-debian-gcc 0.5-1 NOTE
r-devel-linux-x86_64-fedora-clang 0.5-1 61.99 NOTE
r-devel-linux-x86_64-fedora-gcc 0.5-1 61.47 NOTE
r-devel-windows-ix86+x86_64 0.5-1 10.00 96.00 106.00 NOTE
r-patched-linux-x86_64 0.5-1 1.58 50.00 51.58 NOTE
r-patched-solaris-x86 0.5-1 73.80 NOTE
r-release-linux-x86_64 0.5-1 1.68 51.33 53.01 ERROR
r-release-windows-ix86+x86_64 0.5-1 6.00 123.00 129.00 NOTE
r-release-osx-x86_64 0.5-1 NOTE
r-oldrel-windows-ix86+x86_64 0.5-1 6.00 109.00 115.00 NOTE
r-oldrel-osx-x86_64 0.5-1 NOTE

Check Details

Version: 0.5-1
Check: dependencies in R code
Result: NOTE
    Package in Depends field not imported from: ‘RUnit’
     These packages need to be imported from (in the NAMESPACE file)
     for when this namespace is loaded but not attached.
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-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.5-1
Check: R code for possible problems
Result: NOTE
    distCalcRange: no visible global function definition for ‘uniroot’
    distIneqMassartPlot: no visible global function definition for ‘plot’
    distIneqMassartPlot: no visible global function definition for ‘lines’
    distMode: no visible global function definition for ‘optimize’
    distStepSize: no visible global function definition for ‘median’
    distStepSize: no visible global function definition for ‘quantile’
    gammaTailPlotLine: no visible global function definition for ‘lines’
    gammaTailPlotLine: no visible global function definition for ‘pgamma’
    integrateDens: no visible global function definition for ‘integrate’
    kurtosis: no visible global function definition for ‘var’
    logHist: no visible global function definition for ‘hist.default’
    logHist: no visible global function definition for ‘plot’
    logHist: no visible global function definition for ‘points’
    logHist: no visible global function definition for ‘segments’
    momIntegrated: no visible global function definition for ‘integrate’
    momIntegrated: multiple local function definitions for ‘ddist’ with
     different formal arguments
    moranTest: no visible global function definition for ‘pchisq’
    normTailPlotLine: no visible global function definition for ‘lines’
    normTailPlotLine: no visible global function definition for ‘pnorm’
    pDist: no visible global function definition for ‘integrate’
    qDist: no visible global function definition for ‘uniroot’
    qDist: no visible global function definition for ‘splinefun’
    safeIntegrate: no visible global function definition for ‘integrate’
    skewness: no visible global function definition for ‘sd’
    tTailPlotLine: no visible global function definition for ‘lines’
    tTailPlotLine: no visible global function definition for ‘pt’
    tailPlot: no visible global function definition for ‘ppoints’
    tailPlot: no visible global function definition for ‘median’
    tailPlot: no visible global function definition for ‘plot’
    tailPlotLine: no visible global function definition for ‘lines’
    Undefined global functions or variables:
     hist.default integrate lines median optimize pchisq pgamma plot pnorm
     points ppoints pt quantile sd segments splinefun uniroot var
    Consider adding
     importFrom("graphics", "hist.default", "lines", "plot", "points",
     "segments")
     importFrom("stats", "integrate", "median", "optimize", "pchisq",
     "pgamma", "pnorm", "ppoints", "pt", "quantile", "sd",
     "splinefun", "uniroot", "var")
    to your NAMESPACE file.
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-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 0.5-1
Check: compiled code
Result: NOTE
    File ‘DistributionUtils/libs/DistributionUtils.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-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 0.5-1
Check: tests
Result: ERROR
     Running ‘doRUnit.R’ [3s/5s]
    Running the tests in ‘tests/doRUnit.R’ failed.
    Complete output:
     > #### doRUnit.R --- Run RUnit tests
     > ####------------------------------------------------------------------------
     >
     > ### Originally follows Gregor Gojanc's example in CRAN package 'gdata'
     > ### and the corresponding section in the R Wiki:
     > ### http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
     >
     > ### MM: Vastly changed: This should also be "runnable" for *installed*
     > ## package which has no ./tests/
     > ## ----> put the bulk of the code e.g. in ../inst/unitTests/runTests.R :
     >
     > ### DJS: Added the possibility of different testing levels
     > ### environment variable LEVEL set by make
     > ### default value of 1 is level used in check and install
     >
     > if(require("RUnit", quietly=TRUE)) {
     +
     + ## --- Setup ---
     +
     + wd <- getwd()
     + pkg <- sub("\\.Rcheck$", '', basename(dirname(wd)))
     + level <- Sys.getenv("LEVEL")
     +
     + library(package=pkg, character.only=TRUE)
     + cat("value of pkg is ",pkg,"\n\n")
     +
     + path <- system.file("unitTests", package = pkg)
     +
     + stopifnot(file.exists(path), file.info(path.expand(path))$isdir)
     +
     + source(file.path(path, "runTests.R"), echo = TRUE)
     + }
     value of pkg is DistributionUtils
    
    
     > if (require("RUnit", quietly = TRUE)) {
     + if (Sys.getenv("RCMDCHECK") == "FALSE") {
     + level <- Sys.getenv("LEVEL")
     + pkg <- Sys. .... [TRUNCATED]
    
    
     Executing test function test.besselRatio ... done successfully.
    
    
    
     Executing test function test.distIneqMassart ... Timing stopped at: 0.144 0 0.207
     Error in checkTrue(distIneqMassart(mean = 1, sd = 2)$check) :
     Test not TRUE
    
     done successfully.
    
    
    
     Executing test function test.incompleteBesselK ... done successfully.
    
    
    
     Executing test function test.integrateDens ... done successfully.
    
    
    
     Executing test function test.inversionTestpq ... done successfully.
    
    
    
     Executing test function test.inversionTestqp ... done successfully.
    
    
    
     Executing test function test.is.wholenumber ... done successfully.
    
    
    
     Executing test function test.momChangeAbout ... done successfully.
    
    
    
     Executing test function test.momIntegrated ... done successfully.
    
    
    
     Executing test function test.momSE ... done successfully.
    
    
    
     Executing test function test.safeIntegrate ... done successfully.
    
    
    
     Executing test function test.sampleMoments ... done successfully.
    
    
    
     Executing test function test.tsHessian ... done successfully.
    
     [1] "/home/hornik/tmp/R.check/r-release-gcc/Work/build/Packages/DistributionUtils/unitTests/report"
     RUNIT TEST PROTOCOL -- Mon Dec 18 16:35:31 2017
     ***********************************************
     Number of test functions: 13
     Number of errors: 0
     Number of failures: 1
    
    
     1 Test Suite :
     DistributionUtils unit testing - 13 test functions, 0 errors, 1 failure
     FAILURE in test.distIneqMassart: Error in checkTrue(distIneqMassart(mean = 1, sd = 2)$check) :
     Test not TRUE
    
     Error in eval(ei, envir) :
    
     unit testing failed (#test failures: 1, R errors: 0)
    
     Calls: source -> withVisible -> eval -> eval
     In addition: There were 50 or more warnings (use warnings() to see the first 50)
     Execution halted
Flavor: r-release-linux-x86_64