I would like to try to get the information for a record deposited in Zenodo knowing the DOI.
I tried using getRecordByDOI following the example in the documentation, but it returns an error.
doi = "10.5281/zenodo.3378733"
# open instance to Zenodo repository ----
zenodo <- zen4R::ZenodoManager$new(logger = "INFO")
# read record by DOI ----
rec <- zenodo$getRecordByDOI(doi)
[zen4R][INFO] ZenodoRequest - Fetching https://zenodo.org/api/records?q=doi:10.5281//zenodo.3378733&size=10&page=1&all_versions=1
[zen4R][ERROR] ZenodoRequest - Error while executing request 'records?q=doi:10.5281//zenodo.3378733&size=10&page=1&all_versions=1'
[zen4R][ERROR] ZenodoManager - Error while fetching published records: Internal Server Error
Error in result$doi : $ operator is invalid for atomic vectors
I would like to try to get the information for a record deposited in Zenodo knowing the DOI.
I tried using getRecordByDOI following the example in the documentation, but it returns an error.