library(leaflet)

# insert your leaflet url from Mapbox here.
my_map_tile <- "your leaflet url goes here inside quotes"
leaflet() %>% 
  addTiles(urlTemplate = my_map_tile) %>% 
  setView(lng = -40.2, lat=35.6, zoom = 2)