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.
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
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.
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
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.
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.
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
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.
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.
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
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.
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
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.
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
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.
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.
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.
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.
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.
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.
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.