Load packages

library(leaflet)
## Warning: package 'leaflet' was built under R version 4.3.3

Create a Leaflet map (location Empire State Building)

map <- leaflet() %>%
  addTiles() %>%
  addMarkers(lng = -73.9857, lat = 40.7484, popup = "Empire State Building") # Example: New York location

map