Okay after much effort I’m now getting this error:
prediction <- predictProbabilities(model, parts[[2]]$cohortData, parts[[2]]$covariateData)
Error in .Call("PatientLevelPrediction_bySum", PACKAGE = "PatientLevelPrediction", :
"PatientLevelPrediction_bySum" not available for .Call() for package "PatientLevelPrediction"