Install and load leaflet R package

Install the Leaflet R package from the CRAN mirror near you using the install.packages() function and load it.

install.packages("leaflet")
library(leaflet)