Description Usage Arguments Value Examples
For date values that are tomorrow, today or yesterday compared to present day
returns representing string. Otherwise, returns a string formatted according
to fmt
1 | natural_day(value, fmt = "%b %d")
|
value |
A date value |
fmt |
Optional formatting string for dates not yesterday, today, tomorrow |
A nicely formatted date
1 2 | natural_day(Sys.Date())
natural_day(Sys.Date()-10)
|
sh: 1: timedatectl: Permission denied
Error in file(con, "r") : cannot open the connection
In addition: Warning messages:
1: In system("timedatectl", intern = TRUE) :
running command 'timedatectl' had status 126
2: In file(con, "r") : cannot open file '/etc/timezone': Permission denied
[1] "today"
[1] "Feb 20"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.