-
Notifications
You must be signed in to change notification settings - Fork 91
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
HTML document does not compile with mapview v2.9.0 #312
Comments
Does it work if you |
No, that doesn't help. I'm still getting the same error. |
I encountered the same issue today with version 2.9.0. Only possible fix was to downgrade manually to 2.7.8. Code I ran (to test things out:
Returns the same error as @fawda123 :
|
Thanks everyone, and sorry for the mess. I've been meaning to address this in the release, but it seems I deleted some necessary css items too early. This should work again now, though the popups look rather plain now (no colored rows). Please retry with remotes::install_github("r-spatial/mapview") and let me know if the error still persists. |
Hi @tim-salabim.
A shown in the list, my version of leaflet providers is 1.9. Any idea why this could happen? |
This has nothing to do with mapview per se. See rstudio/bookdown#15 for potential solutions. |
Thanks |
@fawda123 does this work for you now? |
@tim-salabim yep, the dev version worked for me. Thanks for the fix! |
yes, this fixed the error for me too! thank you! |
Just to add one more error message for other users potentially having this problem: installing version
|
On Tuesday (6 days ago), I upgraded GDAL to solve a particular problem and then upgraded many of my dependent packages as I hit errors. When I hit this one ( |
Was having this exact same issue this afternoon and retried after running the mapview@develop install as you suggested @Dulani and worked perfectly - thanks! |
Thanks! I've updated the comment with installation instruction above to not use So for future updates from github, please simply install as follows: remotes::install_github("r-spatial/mapview") |
My solution was knitting using Rgui.exe not RStudio: rmarkdown::render("name.Rmd", "html_document") |
Using R version 4.0.2 (2020-06-22), Platform: x86_64-apple-darwin17.0 (64-bit) Hi, I am having a similar issue when trying to run a shiny app on R Studio cloud. (and exactly the same as issue #324) I have installed the mapview github update as recommended by Tim, but I am still getting the same error message. Here is what is printed in my console:
And a simplified version of my code:
The app runs fine on R Studio. Do you know what I could be doing wrong in R Studio Cloud? Thanks! |
Are you sure that on RStudio Cloud the mapview version is > 2.9.0? |
Hi Tim, thanks for your reply! |
Oh yeah, I should've spotted that. Glad you found out yourself |
Hi @tim-salabim, I used the 'remotes::install_github("r-spatial/mapview")' fix and the app runs fine, but it gives me difficult to read pop-up windows because you cannot scroll through them. Any solution to that? |
@barbara-hutniczak Can you provide a reproducible example? |
Hi, I also had the pandoc error 99 with version 2.9.0 when trying to save with mapshot. Now I updated to version 2.9.4 and I got a slightly different error: Is there anything I could try to fix this? Many thanks for any suggestion. This is my session info: Matrix products: default Random number generation: locale: attached base packages: other attached packages: |
In rmarkdown you need to set |
I'm not using rmarkdown, anyway I tried to set that option and I got the previous error again: |
Are you sure this is mapview 2.9.4? |
Just an update for anyone facing the same issue, I solved the mapshot pandoc error in Mapview version 2.9.4 installing PhantomJS through |
this is a work wall and solve my error |
Remove when new mapview is on CRAN
Also ran into this, for an rOpenSci package (after some debugging). Maybe time for a CRAN release 🚀 😄 |
I hear you :-) . Let me fix a couple of bugs and release the deps first though. |
Using the latest mapview release (as of Aug. 11, v2.9.0) produces this error when rendering the .Rmd file to HTML with knitr.
It works fine with the previous release (v 2.7.8).
The text was updated successfully, but these errors were encountered: