CRAN Package Check Results for Package hint

Last updated on 2022-02-02 09:49:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1-1 5.19 33.90 39.09 ERROR
r-devel-linux-x86_64-debian-gcc 0.1-1 2.93 26.98 29.91 ERROR
r-devel-linux-x86_64-fedora-clang 0.1-1 48.99 ERROR
r-devel-linux-x86_64-fedora-gcc 0.1-1 37.52 ERROR
r-devel-windows-x86_64-new-UL 0.1-1 30.00 54.00 84.00 ERROR
r-devel-windows-x86_64-new-TK 0.1-1 ERROR
r-patched-linux-x86_64 0.1-1 4.47 32.62 37.09 NOTE
r-release-linux-x86_64 0.1-1 3.88 33.43 37.31 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
Flavors: r-devel-linux-x86_64-debian-clang, 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, r-devel-windows-x86_64-new-UL, r-devel-windows-x86_64-new-TK