check_time_units: Check Time Units

Description Usage Arguments Value Examples

View source: R/check.R

Description

Checks an object is string of the possible time units.

Usage

1
check_time_units(x, x_name = substitute(x))

Arguments

x

The object to check.

x_name

A string of the name of the object.

Value

An invisible copy of x (if it doesn't throw an error).

Examples

1

poissonconsulting/dttr documentation built on Feb. 20, 2021, 12:18 a.m.