Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Recently developed error in get_refs function. #36

Open
ConstantinResearch opened this issue Jul 22, 2024 · 3 comments
Open

Recently developed error in get_refs function. #36

ConstantinResearch opened this issue Jul 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@ConstantinResearch
Copy link

Dear citationchaser team,

I am writing to report an error in the get_refs function of your R package. This issue has developed recently, as I did not encounter it when using the same code previously. The shiny web app is also affected (I tried running my query there, but it disconnects from the server with both Firefox and Chrome).

When I attempt to use the get_refs() function with around 100 or more dois/lens_ids, I encounter the following error:
Error in if (record_list_ref$total == 0) { : argument is of length zero

Sometimes the query also makes it through (for me when i limit it to only 36 dois/ids)

Additional Information:
R Version: 4.4.0
Package Version: 0.0.4
Operating System: Windows

I greatly enjoy your package and hope that there is an easy fix out there!

All the best!

@nealhaddaway
Copy link
Owner

nealhaddaway commented Jul 23, 2024 via email

@ConstantinResearch
Copy link
Author

I tried the app following your link. Regardless of the number of DOIs, I can usually load them successfully. However, the backward citations (refs) only work inconsistently. It generally doesn't seem possible to process more than roughly 200 DOIs, as the page crashes and forces a reload. Additionally, there is one specific DOI that the app cannot process at all.

From my large query of 544 DOIs, I noticed that this particular DOI—10.1080/0163660X.2020.1770962—causes the entire query to return the following error:
"Warning: Your search returned no matched results. Please double-check your input article identifiers and try again."

This error also occurs when I attempt to load and search for the refs for this specific DOI independently.

If you need further error-testing, I am very happy to help. Again, I am very thankful for any progress.

@nealhaddaway
Copy link
Owner

nealhaddaway commented Jul 23, 2024 via email

@DrMattG DrMattG added the bug Something isn't working label Jul 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants