I produced a map with leaflet package, and saved it as an html widget. This produces also a folder with the javascript data.
I want to share the html link to people who don't have the javascript folder, but the link doesn't work alone. How I can send the html link alone?
R code:
leaflet() %>%
addProviderTiles( "OpenStreetMap.Mapnik" ) %>%
addCircleMarkers(....
addRasterImage(....
saveWidget( "mypath.html", selfcontained=F)
If I try 'Selfcontained=T', I get an error regarding PANDOC.
Thanks