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.
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 ofprivate$mergePages(surveypackageinstances_pages, "surveypackageinstances")
I have tested this change locally and it seems to fix the issue.