bgreenwell / pdp

A general framework for constructing partial dependence (i.e., marginal effect) plots from various types machine learning models in R.
http://bgreenwell.github.io/pdp
91 stars 12 forks source link

set explicit stringsAsFactors to pass on R<4 #126

Open MichaelChirico opened 2 years ago

MichaelChirico commented 2 years ago

Stated R dependency is 3.6, under which this test fails unless we specify an exact requirement.

Alternatively, we could try to ensure that the output works for inputs with factor columns, but that would require a deeper dive.

https://github.com/bgreenwell/pdp/blob/4f22141faf57d7e53761574067f2924aceb88e0f/DESCRIPTION#L15