I am looking for a way to define labels in my leaflet map dynamically, such that they don't need to be precalculated but are generated just in time.
Let us assume we want to show the current time on the label:
leaflet() %>%
addCircleMarkers(lat=0, lng=0, label=lubridate::now())
However, this will always show the time of the map creation. Is there a way to delay the evaluation until the mouseover is actually shown?