Closed EdJeeOnGitHub closed 3 years ago
I opened an issue here with a bit more detail.
@EdJeeOnGitHub, I haven't forgotten about this PR. I see that some of the master branch has changed since your modification, and I'll do my best to make sure you get credit.
Will you please
I'm using R Packages for the definition/distinction between the "aut" and "ctb".
I think I managed to fix the conflicts too?
I like this simple addition and support working to merging this PR. I added a testthat case. See also my comment https://github.com/IQSS/dataverse-client-r/issues/31#issuecomment-751801537 on the associated Issue that seeks to find one more informative test that is compatible with current master version.
Also, shouldn't we implement the same change in the dozens of other places where httr::stop_for_status
is called -- not just in get_file()
?
Returns Dataverse API error message to make debugging easier.