topepo / caret

caret (Classification And Regression Training) R package that contains misc functions for training and plotting classification and regression models
http://topepo.github.io/caret/index.html
1.61k stars 634 forks source link

Optionally skip tests relying on Suggests deps #1337

Open MichaelChirico opened 1 year ago

MichaelChirico commented 1 year ago

Also make tests more hermetic by moving some logic into test_that(), using temporary state (withr::local*), not attaching Suggests packages where avoidable