h2o-3 icon indicating copy to clipboard operation
h2o-3 copied to clipboard

Random errors in R tests on jenkins

Open tomasfryda opened this issue 1 year ago • 1 comments

Sometimes our build in jenkins doesn't seem to generate the package correctly. This is likely due to roxygen2 which scans our R files and then creates the DESCRIPTION and NAMESPACE files.

So far I noticed errors only for random forest.

Error in `h2o.randomForest(x = "X", y = "y", training_frame = alphabet.hex, 
    ntrees = 1, max_depth = 1, min_rows = 100)`: could not find function "h2o.randomForest"
Backtrace:
    â–ˆ
 1. ├─global::withWarnings(test())
 2. │ └─base::withCallingHandlers(expr, warning = wHandler)
 3. └─global::test()

In this instance the NAMESPACE file didn't have any entry for h2o.randomForest and documentation for random forest was also missing in the man folder.

tomasfryda avatar Jan 24 '24 10:01 tomasfryda