dot-assert_that_period_is_valid: test for character period

Description Usage Arguments Value Examples

Description

test for character period

Usage

1

Arguments

period

"frequency period"

Value

TRUE if is valid, informative error if not.

Examples

1
2
3
sapfluxnetr:::.assert_that_period_is_valid('1 day') # TRUE
# not run
# sapfluxnetr:::.assert_that_period_is_valid('1day') # error

sapfluxnetr documentation built on Aug. 28, 2020, 1:13 a.m.