leaflet.extras
enables programmatic removal of drawn polygons again, the Reset button will only reset the data, and not affect polygons. rgdal
is installed before downloads of rasters are allowed. This turns out to be an issue with raster
package, as the rgdal
dependency for this function doesn't seem to be functional.system.file()
calls to files in the wallace
package to relative paths, which ensures that in those cases where the user downloads from Github and doesn't have the package installed from CRAN, or the package being developed is not the one installed from CRAN, the correct files can be found. To make this work, the folders inst/Rmd
, inst/css
, and inst/js
have been moved to inst/shiny
. An exception is the run_wallace()
function, which retains system.file()
because it is not in the inst/shiny
folder. raster
package first.repmis
and rgdal
to package dependencies.rJava
cannot load.leaflet
version 1.0.1. There was a mysterious problem with zooming to points before clearing markers and/or plotting points, which resulted in crashing as soon as points are plotted unless the user had the Github master version of leaflet
installed. Thus the code was rearranged and cleaned to accomodate the current leaflet
version on CRAN.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.