This function returns the date of the most recent Monday that is on or before the current date or a specified reference date
Examples
most_recent_monday() # Returns the most recent Monday from today
#> [1] "2026-01-05"
# Returns c("2025-12-29", "2026-01-05")
most_recent_monday(c("2026-01-04", "2026-01-05"))
#> [1] "2025-12-29" "2026-01-05"
most_recent_sunday("2024-06-15") # Returns "2024-06-09"
#> [1] "2024-06-09"