OHDSI / PatientLevelPrediction

An R package for performing patient level prediction in an observational database in the OMOP Common Data Model.
https://ohdsi.github.io/PatientLevelPrediction
187 stars 88 forks source link

do.call() evaluates plpData parameter to print all its content #432

Closed lhjohn closed 6 months ago

lhjohn commented 6 months ago

Describe the bug do.call() default behaviour seems to evaluate all objects in its parameter list. For plpData objects this results in an implicit print() action which for very large data (9+mio rows) causes slow down or crashes.

We will experiment using quote() which should defer evaluation until reaching function body.

egillax commented 6 months ago

Fixed in v6.3.7