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().
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().
References https://github.com/IQSS/dataverse-client-r/issues/116#issuecomment-1084251443
(note: there were some issues with closing and renewing or changing base of pull request (automatically closed it), hope everything is good now)