tests/testthat/test_output.R

library(testthat)
library(tempdisagg)

context("output functions")

m <- td(ts(c(1, 1, 1, 1)) ~ 1, to = 4, method = "fast")

test_that("plot works", {
  plot(m)
  expect_null(NULL)
})

test_that("print works", {
  expect_output(print(m))
})

Try the tempdisagg package in your browser

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

tempdisagg documentation built on Aug. 8, 2023, 5:07 p.m.