-
Notifications
You must be signed in to change notification settings - Fork 118
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
Example error v3 #871
Comments
Not sure.. but there is a vignette that stopped rendering.. Is it because of that new commit? devtools::load_all()
#> ℹ Loading tmap
tm_shape(World, crs = 8857) +
tm_cartogram(size = "pop_est", fill = "income_grp")
#> Warning in CPL_crs_from_input(x): GDAL Error 1: PROJ:
#> proj_create_from_database: Cannot find proj.db
#> Error: crs not found: is it missing? Created on 2024-05-08 with reprex v2.1.0 I can't reproduce the CI failure locally.. But somehow, this map produces error on CI tm_shape(World, bbox = sf::st_bbox(c(xmin = -180, xmax = 180, ymin = -86, ymax = 86))) +
tm_polygons(fill = NA, col = "black") +
tm_shape(metro) +
tm_symbols(size = 0.1, col = "red") +
tm_layout(inner.margins = rep(0, 4))
#> ! LOGICAL() can only be applied to a 'logical', not a 'NULL' |
Don't know how to traceback that issue if I can't reproduce it. The first warning/error seems like an installation error in GDAL. data(World, package = "tmap")
library(sf)
World8857 = st_transform(World, crs = 8857) Could you also enable run |
Disregard the first error, it was a config issue on my old computer I was able to reproduce with build_rmd("vignettes/tmap_vv.Rmd")
.Last.error Interactively, I get with devel_mode
tmap_devel_mode() doesn't show anything if an error occurs. For now, the workaround will be to avoid the basemap? Opened #875 for now! |
If so, 81f217a should (temporarily) solve it. However, the strange this is that this 'interpolation' option (that is passed on to |
still not working :( have you had a chance to dig it more? the main problem is that it is harder to see if a fix breaks something elsee I can retry to look at this if you can't find what the issue is.. |
Found the issue! Will solve it later. |
Feel free to reopen if needed again |
v3 result
The text was updated successfully, but these errors were encountered: