library(tidymodels)
library(cli)The tune package has machinery to catch and log errors and warnings that occur while evaluating proposed models against resamples.
At the moment, we print those warnings/errors out one-by-one as they appear during evaluation.