We have now completed the main steps to writing a DataSHIELD function. One of the final steps is to ensure that the documentation is complete and there are no mistakes in the code.
Run devtools::check()
again for the server-side package. You are likely to receive warnings and errors - on building this package warnings were displayed relating to missing examples in the documentation and missing dependencies in the DESCRIPTION file. Fix these one by one, and keep running check
until you receive:
── R CMD check results ──────────────────────────────────────────────── dsExampleClient 0.0.0.9000 ────
Duration: 15.8s
0 errors ✔ | 0 warnings ✔ | 0 notes ✔
Now repeat for the client-side package.