get today date in optinally date format

today(as_date = TRUE)

Arguments

as_date

R's date format