Closed RichardMN closed 2 years ago
I think as written download_JSON
will be called automatically from test_download
which itself gets called automatically when DataClass$test()
is called. That means I think that it will run the csv tests and hence maybe fail if the JSON isn't a table?
Not entirely sure what to do about this if we go with supporting non-datra frames as the output from download. I guess having a switch to only run tests if the output is a not JSON?
I've just stepped through the test_download
(by running test(download = TRUE)
) and it is running the same code as for a CSV. It doesn't fail but I don't see how to get it to run through JSON-specific tests either.
This PR has been flagged as stale due to lack of activity
This is currently a WIP to address #420.