castoredc / castoRedc

R wrapper to Castor EDC API
MIT License
3 stars 8 forks source link

getSurveyPackageInstances returns NULL #13

Closed ArnoKalkman closed 7 months ago

ArnoKalkman commented 2 years ago

The function getSurveyPackageInstances returns NULL, and this appears to be a bug.

To fix this, I think CastorData.R line 92 should be: private$mergePages(surveypackageinstances_pages, "surveypackageinstance") instead of private$mergePages(surveypackageinstances_pages, "surveypackageinstances")

I have tested this change locally and it seems to fix the issue.

slknijnenburg commented 7 months ago

Fixed in 2.0.0 via #36.