Closed mskyttner closed 6 years ago
I have gotten a different result running the code from the vignette, which does not feature such lines:
sessionInfo() R version 3.5.1 (2018-07-02) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows >= 8 x64 (build 9200)
Matrix products: default
locale:
[1] LC_COLLATE=English_Sweden.1252 LC_CTYPE=English_Sweden.1252 LC_MONETARY=English_Sweden.1252 LC_NUMERIC=C
[5] LC_TIME=English_Sweden.1252
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] DT_0.4 tibble_1.4.2 bindrcpp_0.2.2 knitr_1.20 dplyr_0.7.6
[6] purrr_0.2.5 swedishbutterflies_0.1.3 magick_1.9
loaded via a namespace (and not attached):
[1] Rcpp_0.12.18 lubridate_1.7.4 lattice_0.20-35 tidyr_0.8.1 zoo_1.8-3 assertthat_0.2.0
[7] digest_0.6.15 mime_0.5 R6_2.2.2 plyr_1.8.4 ggplot2_3.0.0 highr_0.7
[13] pillar_1.3.0 rlang_0.2.1 curl_3.2 lazyeval_0.2.1 rstudioapi_0.7 raster_2.6-7
[19] hexbin_1.27.2 blob_1.1.1 RPostgres_1.1.1 config_0.3 labeling_0.3 rgdal_1.3-4
[25] stringr_1.3.1 htmlwidgets_1.2 bit_1.1-14 munsell_0.5.0 shiny_1.1.0 compiler_3.5.1
[31] httpuv_1.4.5 pkgconfig_2.0.1 htmltools_0.3.6 tidyselect_0.2.4 viridisLite_0.3.0 crayon_1.3.4
[37] dbplyr_1.2.2 later_0.7.3 rappdirs_0.3.1 grid_3.5.1 jsonlite_1.5 xtable_1.8-2
[43] gtable_0.2.0 DBI_1.0.0 magrittr_1.5 scales_0.5.0 stringi_1.1.7 promises_1.0.1
[49] ggthemes_4.0.0 leaflet_2.0.1 sp_1.3-1 latticeExtra_0.6-28 cowplot_0.9.3 RColorBrewer_1.1-2
[55] tools_3.5.1 bit64_0.9-7 glue_1.3.0 hms_0.4.2 crosstalk_1.0.0 parallel_3.5.1
[61] yaml_2.2.0 colorspace_1.3-2 rasterVis_0.45 pool_0.1.4.1 bindr_0.1.1
Thanks for sharing! Another WinOS/Linux difference in package development, it seems. Thanks for adding the sessionInfo - I can try to match the version nr's to see if this is a factor in this case...
Btw Rawgit is shutting down so no visualisation there anymore. But the issue is solved? Maybe close?
I can't replicate this any more. Now it look as expected. I suspect it may have been related to some version of some package, but I don't know. It looks good now on Linux and Windows when I test it.
Check out the maps towards the end of the Vignette....
https://rawgit.com/rekonstrukt/swedishbutterflies/master/inst/doc/sebms-intro.html
Gray lines in the background... Is it some kind of gridlines or so from the theme? Or perhaps something that comes from the Polygon-data used?