Learn R Programming

datacheckr (version 0.2.0.9002)

check_time: Checks Time

Description

Checks Time

Usage

check_time(x, x_name = substitute(x))

Arguments

x
The scalar POSIXct to check.
x_name
A string of the name of x.

Value

Throws an informative error or returns an invisible copy of x.

Examples

Run this code
try(check_time(Sys.Date()))

Run the code above in your browser using DataLab