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 Oct. 9, 2022, 9:05 a.m.