Suppress data.table warning messages inside h2o.automl() in R

Description

As I run H2O on a clean machine / no data.table installed, there are tons and tons of these warnings about data.table not being installed. Message here: https://github.com/h2oai/h2o-3/blob/94632bba2cc7503a6b00cc98e0c68635e9f1c395/h2o-r/h2o-package/R/frame.R#L4039

It will say this 50-something times in a typical AutoML run… It seems like we should not warn people every single time they use `as.h2o()`? Maybe this can be a message on start-up, or maybe we just need to suppress the warning messages inside h2o.automl()?

When running AutoML, this comes up 50+ times and fills the screen with warnings... It happens because we use as.h2o() inside the AutoML function. Here: https://github.com/h2oai/h2o-3/blob/94632bba2cc7503a6b00cc98e0c68635e9f1c395/h2o-r/h2o-package/R/automl.R#L406

Let's at least wrap this as.h2o() inside a suppressMessages() function so its not warning a bunch of times and making a mess.

Assignee

Tomas Fryda

Fix versions

Reporter

Erin LeDell

Support ticket URL

None

Labels

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Components

Priority

Major
Configure