densitymodelling / dsmextra

Extrapolation assessments in density surface models
GNU Lesser General Public License v3.0
4 stars 3 forks source link

`map_extrapolation` dependency on leaflet` #16

Open erex opened 4 weeks ago

erex commented 4 weeks ago

Not sure if you are actively maintaining dsmextra; if not let me know. Received a question to the distance sampling list suggesting dsmextra couldn't be installed because of an rgdal dependency.

I installed dsmextra on my machine without incident, but did get guff from R when running the Getting Started vignette code as follows:

=== Extrapolation assessment complete! ===

Warning messages:
1: In map_extrapolation(map.type = "extrapolation", extrapolation.object = ex1,  :
  map_extrapolation relies on the leaflet package, which is built around a Web Mercator projection (EPSG:3857), and therefore requires rasters to be reprojected for plotting. As a result, minor discrepancies may  occur between the interactive maps shown in the viewer, and the underlying raw data. The latter can be accessed directly from extrapolation object returned by <compute_extrapolation> and visualised using alternative packages such as ggplot2.

with no maps produced from map_extrapolation

erex commented 4 weeks ago

when calling compare_covariates with the Getting Started vignette progress_estimated() was deprecated in dplyr 1.0.0. The deprecated feature was likely used in the dsmextra package.