findNextRunDate | R Documentation |
Find the next date that an automated report is supposed to be run. Likely, this function will only be relevant for shiny apps when this date is to be printed
findNextRunDate(
runDayOfYear,
baseDayNum = as.POSIXlt(Sys.Date())$yday + 1,
startDate = NULL,
returnFormat = "%A %e. %B %Y"
)
runDayOfYear |
Numeric vector providing year-day numbers |
baseDayNum |
Numeric defining base year-day. Default is today |
startDate |
Character string of format "YYYY-MM-DD" defining the date of
the very first run. If set to NULL (default) or a none future date (compared
to the date represented by |
returnFormat |
String providing return format as described in
|
String date for printing
# Will return Jan 30 in the current year and locale with default formatting
findNextRunDate(c(10, 20, 30), 20)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.