ropensci / rcrossref

R client for various CrossRef APIs
https://docs.ropensci.org/rcrossref
Other
170 stars 20 forks source link

rCrossRef #228

Closed shashigaonkar closed 2 years ago

shashigaonkar commented 2 years ago

I am new to both R and GitHub. I am trying to use rCrossRef. I have registered my email in the Polite Pool using the codes below:
usethis :: edit_r_environ() followed by , crossref_email = example@mail.com

When I try to use rCrossRef to look up for journal details the error message pops up in R.

Error in cr_GET(endpoint = path, args, todf = FALSE, parse = TRUE, ...) : res$response_headers$content-type == "application/json;charset=UTF-8" is not TRUE

I did go through the issue discussed here, and then used, remote : : install_github("ropensci/rcrossref")

But it is not working well for me. The same error message pops up. Could anyone please help me to solve my issue?

TobiasPolak commented 2 years ago

I am having the same issue. I was helped by the Issue 224: uninstall your current version and reinstall using:

remotes::install_github("ropensci/rcrossref")

njahn82 commented 2 years ago

The latest CRAN release fixes this issue.