View source: R/check_single_posix.R
check_single_posix | R Documentation |
Check if the object is a single POSIX
check_single_posix(x, name = "x", past = FALSE)
x |
the object to check |
name |
the name of the object to use in the error message |
past |
Should the function throw an error when x is in the future?
Default is |
The function gives the single POSIX back. It throws an error when the input is not a single character.
check_single_posix(Sys.time())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.