Running examples in 'RRF-Ex.R' failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted
Running examples in ‘RRF-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted
Running examples in ‘RRF-Ex.R’ failed
The error most likely occurred in:

> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted
Running examples in ‘RRF-Ex.R’ failed
The error most likely occurred in:

> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted
Running examples in 'RRF-Ex.R' failed
The error most likely occurred in:

> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted
Running examples in 'RRF-Ex.R' failed
The error most likely occurred in:

> ### Name: na.roughfix
> ### Title: Rough Imputation of Missing Values
> ### Aliases: na.roughfix na.roughfix.default na.roughfix.data.frame
> ### Keywords: NA
> 
> ### ** Examples
> 
> data(iris)
> iris.na <- iris
> set.seed(111)
> ## artificially drop some data values.
> for (i in 1:4) iris.na[sample(150, sample(20)), i] <- NA
Error in sample.int(x, size, replace, prob) : invalid 'size' argument
Calls: [<- -> [<-.data.frame -> sample -> sample.int
Execution halted