CRAN Package Check Results for Package hint

Last updated on 2022-01-21 05:52:11 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-1 NOTE
r-devel-linux-x86_64-debian-gcc 0.1-1 3.26 26.21 29.47 ERROR
r-devel-linux-x86_64-fedora-clang 0.1-1 51.65 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1-1 38.70 ERROR
r-devel-windows-x86_64-new-UL 0.1-1 27.00 55.00 82.00 NOTE
r-devel-windows-x86_64-new-TK 0.1-1 NOTE
r-patched-linux-x86_64 0.1-1 4.25 33.28 37.53 NOTE
r-release-linux-x86_64 0.1-1 3.97 33.28 37.25 NOTE
r-release-macos-arm64 0.1-1 NOTE
r-release-macos-x86_64 0.1-1 NOTE
r-release-windows-ix86+x86_64 0.1-1 11.00 37.00 48.00 NOTE
r-oldrel-macos-x86_64 0.1-1 NOTE
r-oldrel-windows-ix86+x86_64 0.1-1 9.00 35.00 44.00 NOTE

Check Details

Version: 0.1-1
Check: R code for possible problems
Result: NOTE
    overlay.sim: no visible global function definition for 'points'
    plotDistr: no visible global function definition for 'dev.hold'
    plotDistr: no visible global function definition for 'dev.flush'
    plotDistr: no visible global function definition for 'segments'
    Undefined global functions or variables:
     dev.flush dev.hold points segments
    Consider adding
     importFrom("grDevices", "dev.flush", "dev.hold")
     importFrom("graphics", "points", "segments")
    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-new-UL, r-devel-windows-x86_64-new-TK, r-patched-linux-x86_64, 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-1
Check: examples
Result: ERROR
    Running examples in ‘hint-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: overlay.sim
    > ### Title: Overlay Simulation Results on Distribution
    > ### Aliases: overlay.sim
    >
    > ### ** Examples
    >
    > ## Generate exact distribution and plot:
    > dd <- dhint(108, c(54,76,89))
    > plot(dd[,1], dd[,2], col="blue")
    > ## Simulate drawing from 3 urns (sims should be larger).
    > nn <- sim.hydist(108, c(54,76,89), sims = 10)
    
     Completed... 10 % Error in sample.int(length(x), size, replace, prob) :
     invalid 'size' argument
    Calls: sim.hydist -> sample -> sample.int
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.1-1
Check: compiled code
Result: NOTE
    File ‘hint/libs/hint.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-1
Check: examples
Result: ERROR
    Running examples in ‘hint-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: overlay.sim
    > ### Title: Overlay Simulation Results on Distribution
    > ### Aliases: overlay.sim
    >
    > ### ** Examples
    >
    > ## Generate exact distribution and plot:
    > dd <- dhint(108, c(54,76,89))
    > plot(dd[,1], dd[,2], col="blue")
    > ## Simulate drawing from 3 urns (sims should be larger).
    > nn <- sim.hydist(108, c(54,76,89), sims = 10)
    
     Completed... 10 % Error in sample.int(length(x), size, replace, prob) :
     invalid 'size' argument
    Calls: sim.hydist -> sample -> sample.int
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc