As of this commit on the master branch of the caret package, the predict.train function is no longer exported causing the following error to be thrown from predict.caretList:
Error: 'predict.train' is not an exported object from 'namespace:caret'
Minimal, reproducible example:
Minimal dataset:
set.seed(1)
dat <- caret::twoClassSim(100)
X <- dat[,1:5]
y <- dat[["Class"]]
As of this commit on the
master
branch of thecaret
package, thepredict.train
function is no longer exported causing the following error to be thrown frompredict.caretList
:Minimal, reproducible example:
Minimal dataset:
Minimal, runnable code:
Session Info: