ropensci / ruODK

ruODK: An R Client for the ODK Central API
https://docs.ropensci.org/ruODK/
GNU General Public License v3.0
42 stars 13 forks source link

form_list returns error when there is a testing form #86

Closed dmenne closed 4 years ago

dmenne commented 4 years ago

form_list errors with "Result 2 must be a single string, not NULL of length 0"

florianm commented 4 years ago

Cheers Dieter, I'll have a look! Warrants a new test case methinks.

dmenne commented 4 years ago

Issue is still reproducable. Any progress?

dmenne commented 4 years ago

See my pull request. session and hash are NULL for drafts

florianm commented 4 years ago

Thanks for the PR, merged! I've added an empty form without submissions ("Locations no submissions please") to the ruODK test project. Without the PR, the tests for form_list fail. With the added ".default = NA" as per PR, the tests pass.