You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the problem lies in the parse_todf function in cr_works.R. When Crossref returns an empty list (in the case of the DOI record referenced above, under funder[1], see API response) the parse function fails. For now I'm using the cr_works_ low level route instead, which works fine.
I've encountered instances of the cr_works route failing on a very small number of DOIs, for example:
returns
I think the problem lies in the
parse_todf
function in cr_works.R. When Crossref returns an empty list (in the case of the DOI record referenced above, under funder[1], see API response) the parse function fails. For now I'm using thecr_works_
low level route instead, which works fine.Changing lines 349-350 from:
to
seems to work, but I haven't tested extensively.
Session Info
The text was updated successfully, but these errors were encountered: