How can htmlwidgets::saveWidget be used to save a leaflet map after the map has been 'modified' through leafletProxy calls?
So for example, within the same code block this works:
m <- leaflet() %>% ...
saveWidget(m, "temp.html"...)
However after several leafletProxy calls to add markers, etc, how can the map widget be referred to in saveWidget?