options(mapbox.accessToken = "pk.eyJ1IjoiYmRiZXN0IiwiYSI6ImNqeTQzcjMzYjE2MnMzb3AyaXBmOWZueG4ifQ.kOxbgvSal1U-3LaYKOo3rw")
librarian::shelf(
leaflet, rstudio/leaflet.mapboxgl)
##
## The 'cran_repo' argument in shelf() was not set, so it will use
## cran_repo = 'https://cran.r-project.org' by default.
##
## To avoid this message, set the 'cran_repo' argument to a CRAN
## mirror URL (see https://cran.r-project.org/mirrors.html) or set
## 'quiet = TRUE'.
leaflet(quakes) %>%
addMapboxGL(style = "mapbox://styles/mapbox/streets-v9") %>%
addCircleMarkers(weight = 1, fillOpacity = 0, radius = 3)
## Assuming "long" and "lat" are longitude and latitude, respectively