This is an OpenCPU application, originally based on the sochi repo by @ramnathv. I am trying to test leaflet package https://cran.r-project.org/web/packages/leaflet/index.html within an OpenCPU app.
The easiest way to run this webapp locally is to install the ocpuleaflet
package from github
install.packages('XML', type = 'source')
devtools::install_github('arevaju/ocpuleaflet')
library(opencpu)
### Working example using Leaflet from rCharts
opencpu$browse('/library/ocpuleaflet/www/index2.html')
### Testing example not working using Leaflet package
opencpu$browse('/library/ocpuleaflet/www/index.html')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.