-
Notifications
You must be signed in to change notification settings - Fork 9
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
Package does no longer seem to work #7
Comments
Had the same problem for ~1 week, I just fixed it by replacing the calls to the |
Thanks @RCura! Just accepted the pull request, so the development version should now work:
I'll get this on CRAN asap. |
Please let me know when you update the code. I am using this to collect data for my project |
@afeefpulimala New version on CRAN now. Is it working for you, or are you still running into issues? |
I am still having the issue that I posted above |
@afeefpulimala After you run the code and get the error, could you run |
R version 4.2.2 (2022-10-31 ucrt) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
I have the same issue as @Laurent-Smeets-GSS-Account, I just get returned an empty element! r <- googletraffic::gt_make_raster(location = c(40.712778, -74.006111),
Pausing for 10 seconds to allow traffic data to render
|
Hi @sbarzin: Could you run |
@sbarzin while I troubleshoot this, one thing to also potentially check is to see if you get data by increasing the webshot delay time -- as sometimes the google traffic data can take some time to load, and if it doesn't load you may just see all NAs. Maybe try something like this? (The new CRAN release uses a new version of webshot, so may need to adjust the delay time for that... but anyways, just a quick thought and am working on troubleshooting!)
|
@ramarty thanks! The webshot_delay worked perfectly, and I now have results with values! |
I've got the same issue like @afeefpulimala, although I have tried using webshot_delay or updating the package from CRAN. I can see the data from HTML format but it was unable to make the raster layer. Any insight on this kind of issue? |
Some of the problems I had seem to have gone or at least changed, but I now get another type of error. If I try to run
I am getting this error message
This is my session info
|
@afeefpulimala , did you use the windows system? I have the same issue in the window system, when I changed to Mac, this issue does not appear again. I thought it is because of the tempfile() in the window system, hope someone can come out with a solution for this issue. Thanks! |
@afeefpulimala @gisynw @Laurent-Smeets-GSS-Account Sorry about the issue! Yep, it seems to be something specific to windows. I just pushed an update. If you try installing the devtools version, do things then work correctly?
(Update should be available on CRAN soon, but can further troubleshoot if still not working!) |
Hi @ramarty, sorry for the late reply. I am still getting the same error when using
however using
|
@afeefpulimala @gisynw @Laurent-Smeets-GSS-Account New version on CRAN fixed some issues with the package working on windows -- but let me know if issues are still persisting and I'll continue troubleshooting here |
Code that used to run just fine, does not work any more
returns:
and
could it be that the Google API has changed and that scraping requests like this are blocked?
The text was updated successfully, but these errors were encountered: