tests/testthat/test-print.R

test_that("print works", {
  expect_equal(
    {
      o <- get_series(template_test(), cache = T, debug = T)
      p <- capture.output({
        print(o)
      })

      length(p) > 30
    },
    T
  )
})

Try the Rapi package in your browser

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

Rapi documentation built on May 29, 2024, 2:34 a.m.