Base64 decoding of files in app.json is currently broken by the changes in #72. This PR switches to jsonlite's implementation (removing a dependency), and fixes the problem.
Also, use try() in the case of binary files so as to recover from a base64 decode error, since binary files likely don't affect the result of renv package dependency resolution in any case.
Base64 decoding of files in
app.json
is currently broken by the changes in #72. This PR switches tojsonlite
's implementation (removing a dependency), and fixes the problem.Also, use
try()
in the case of binary files so as to recover from a base64 decode error, since binary files likely don't affect the result of renv package dependency resolution in any case.