check_time: Checks Time

Description Usage Arguments Value Examples

View source: R/check-scalar.R

Description

Checks Time

Usage

1
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

1

Example output

Error : Sys.Date() must be of class 'POSIXct'

datacheckr documentation built on May 30, 2017, 6:05 a.m.