ts/tests/testthat/app.R
Tom Elliott 5e84656a89 docs
2025-01-20 21:13:21 +13:00

13 lines
268 B
R

library(ts)
fn_mean <- ts_function(mean, x = ts_numeric(), result = ts_numeric(1))
fn_first <- ts_function(function(x = ts_character(-1)) x[1],
result = ts_character(1)
)
sample_num <- ts_function(
sample,
x = ts_numeric(0),
result = ts_numeric(1)
)