CRAN Package Check Results for Package staTools

Last updated on 2021-06-07 07:51:11 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 22.19 50.07 72.26 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 14.33 40.52 54.85 ERROR
r-devel-linux-x86_64-fedora-clang 0.1.0 107.94 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1.0 86.92 ERROR
r-devel-windows-x86_64 0.1.0 26.00 59.00 85.00 ERROR
r-devel-windows-x86_64-gcc10-UCRT 0.1.0 ERROR
r-patched-linux-x86_64 0.1.0 17.87 50.51 68.38 NOTE
r-patched-solaris-x86 0.1.0 121.40 NOTE
r-release-linux-x86_64 0.1.0 17.68 50.47 68.15 NOTE
r-release-macos-arm64 0.1.0 NOTE
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 33.00 106.00 139.00 NOTE
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 65.00 104.00 169.00 NOTE

Check Details

Version: 0.1.0
Check: R code for possible problems
Result: NOTE
    inspect: no visible global function definition for 'par'
    inspect: no visible global function definition for 'abline'
    inspect: no visible global function definition for 'lines'
    inspect: no visible global function definition for 'points'
    plotfit: no visible global function definition for 'dev.off'
    plotfit: no visible global function definition for 'par'
    plotfit: no visible global function definition for 'lines'
    plotfit: no visible global function definition for 'points'
    plotfit: no visible global function definition for 'legend'
    plothill: no visible global function definition for 'par'
    plothill: no visible global function definition for 'abline'
    plothill: no visible global function definition for 'points'
    plotmultifit: no visible global function definition for 'par'
    plotmultifit: no visible global function definition for 'lines'
    plotmultifit: no visible global function definition for 'points'
    plotmultifit: no visible global function definition for 'pexp'
    plotmultifit: no visible global function definition for 'plnorm'
    plotmultifit: no visible global function definition for 'ppois'
    plotmultifit: no visible global function definition for 'legend'
    plotols: no visible global function definition for 'dev.off'
    plotols: no visible global function definition for 'lm'
    plotols: no visible global function definition for 'par'
    plotols: no visible global function definition for 'abline'
    plotols: no visible global function definition for 'legend'
    Undefined global functions or variables:
     abline dev.off legend lines lm par pexp plnorm points ppois
    Consider adding
     importFrom("grDevices", "dev.off")
     importFrom("graphics", "abline", "legend", "lines", "par", "points")
     importFrom("stats", "lm", "pexp", "plnorm", "ppois")
    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-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, 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.0
Check: examples
Result: ERROR
    Running examples in 'staTools-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: plotfit
    > ### Title: Plot Fit of Discrete Powerlaw Distributions
    > ### Aliases: plotfit
    > ### Keywords: distributions fit plot powerlaw
    >
    > ### ** Examples
    >
    > x = moby
    > o = displo(x)
    
    Discrete Powerlaw Object
    ************************
    n = 18855
    n (unique) = 272
    xmin = 1
    xmax = 14086
    alpha =
    ************************> getXmin(o)
    $xmin
    [1] 7
    
    $alpha
    [1] 1.950157
    
    > plotfit(o)
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plotfit -> format -> format.default -> prettyNum
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 0.1.0
Check: compiled code
Result: NOTE
    File ‘staTools/libs/staTools.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: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘staTools-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: plotfit
    > ### Title: Plot Fit of Discrete Powerlaw Distributions
    > ### Aliases: plotfit
    > ### Keywords: distributions fit plot powerlaw
    >
    > ### ** Examples
    >
    > x = moby
    > o = displo(x)
    
    Discrete Powerlaw Object
    ************************
    n = 18855
    n (unique) = 272
    xmin = 1
    xmax = 14086
    alpha =
    ************************> getXmin(o)
    $xmin
    [1] 7
    
    $alpha
    [1] 1.950157
    
    > plotfit(o)
    Error in prettyNum(.Internal(format(x, trim, digits, nsmall, width, 3L, :
     invalid value 0 for 'digits' argument
    Calls: plotfit -> format -> format.default -> prettyNum
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT