%>%

map <- leaflet() %>% addTiles() %>% addMarkers(data = quakes)

# would be in Python sth like
leaflet().addTiles().addMarkers(data = quakes)

no-pipe

map <- leaflet()
map <- addTiles(map)
map <- addMarkers(map, data = quakes)

map <- addMarkers(addTiles(leaflet()), data = quakes)