tests/testthat/test-utils.R

context("test-utils.R")

test_that("utils: time_decompose `merge = T` works", {
    merged_decomposition <- tidyverse_cran_downloads %>%
        time_decompose(count, merge = T)
    expect_equal(ncol(merged_decomposition), 7)
})

Try the anomalize package in your browser

Any scripts or data that you put into this service are public.

anomalize documentation built on Nov. 2, 2023, 5:13 p.m.