rapidsurveys / odkr

Open Data Kit R API
http://rapidsurveys.io/odkr/
GNU General Public License v3.0
11 stars 4 forks source link

ODK Briefcase v1.11.1 CLI seems broken #11

Closed ernestguevarra closed 6 years ago

ernestguevarra commented 6 years ago

The Briefcase v1.11.1 released yesterday seems to be broken.

Medium-term solution will be to add functionality in get_briefcase() where the default Briefcase to download (and use) is the ODK Briefcase version 1.9.0 (the latest version that is known to work with odkr.

ernestguevarra commented 6 years ago

Feedback from ODK team indicate that as of version 1.11.0, the CLI requires that an actual folder named ODK Briefcase Storage with a subfolder named forms is found in the storage directory path specified on the command line.

We tested this and created a new function called create_sd() which creates this folder and the subfolder and added that to the pull functions. On testing, build and testing all went through without errors.

A recent message from ODK team indicate that they have updated Briefcase such that it will behave in the same way as it was pre-version 1.11.0 in that it will create this folder in the specified path if it is not missing. This is now version 1.12.0.

The next step will be to update the package using the specifications of ODK Briefcase v1.12.0 (basically back to original interaction with Briefcase via CLI.

ernestguevarra commented 6 years ago

Current odkr version that was patched to accommodate the syntax for ODK Briefcase v1.11.0 works fine even with ODK Briefcase v1.12.0. For now, we'll keep current odkr version and will instead focus attention to more major updates to try to get odkr back on CRAN.