tests/testthat/test-deprecated.R

test_that("corrupt tsibble object", {
  attr(pedestrian, "regular") <- TRUE
  expect_warning(format(pedestrian), "corrupt tsibble")
  attr(tourism, "ordered") <- TRUE
  expect_warning(format(tourism), "corrupt tsibble")
})

Try the tsibble package in your browser

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

tsibble documentation built on June 27, 2024, 5:06 p.m.