-
Notifications
You must be signed in to change notification settings - Fork 36
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
new error in loadByProduct() #121
Comments
@kellyaho I haven't been able to replicate this error. Let me know if you're still seeing it today, and let's troubleshoot offline. |
We determined this was due to some sort of firewall/security issue on the local machine. Leaving this issue open for now in case other users run into the same problem, but it is not a neonUtilities code problem. If users run into this, please get in touch with NEON, either by commenting on this issue or through the Contact Us page. |
I also had a similar issue today. I've run this code with no issue for a roughly a year and it suddenly threw out an error. Code: Error message: Error in getZipUrls(month.urls, avg = avg, package = package, dpID = dpID, : No files found. This indicates either your internet connection failed, or the API is temporarily unavailable, or the data available for DP1.10022.001 are all hosted elsewhere. Check the data portal data.neonscience.org for outage alerts, and check the DP1.10022.001 data download page for external links. OS: macOS Big Sur version 11.1 After seeing the post here about it being a local issue I threw the same code over to a colleague and had them run it. It worked fine for them so I realized it was a local issue. Updating my Rstudio fixed it. Not sure exactly what that solved, but just throwing it up here in case anyone runs into a similar issue. |
Function
Which of the functions in the neonUtilities package is this bug found in?
loadByProduct()
Describe the bug
A clear and concise description of what the bug is.
Error: lexical error: invalid char in json text.
<html lang="en"
(right here) ------^
To Reproduce
What function inputs revealed the bug?
loadByProduct(dpID = "DP1.20190.001", site = "POSE", check.size = FALSE)
Expected behavior
A clear and concise description of what you expected to happen.
Normally, my data loads as is expected.
System (please complete the following information):
Additional context
Add any other context about the problem here.
This issue just started in code that I have been successfully using for a couple of months. I've tried updating neonUtilities from both CRAN and Github, and get the same error for both. I am using jsonlite 1.7.2.
The text was updated successfully, but these errors were encountered: