Change bod2 from list() to list(forceReplace = force) . The list() resulted in jsondata being run with '[]' which is not accepted within R anymore (unsure where the issue resulted from, could be either from httr, curl). The list(forceReplace = force) was already used at update_dataset_file(). Other option would be to use NULL instead of the list().
@Danny-dK thanks, a PR is helpful. Could you send it to IQSS:dev rather than master branch? I think you'd need to close and renew the PR in order to do this.
Change bod2 from
list()
tolist(forceReplace = force)
. Thelist()
resulted in jsondata being run with '[]' which is not accepted within R anymore (unsure where the issue resulted from, could be either from httr, curl). Thelist(forceReplace = force)
was already used at update_dataset_file(). Other option would be to useNULL
instead of thelist()
.References https://github.com/IQSS/dataverse-client-r/issues/116#issuecomment-1084251443