tests/testthat/test-print.R

testthat::test_that("print works as it should", {
  marginals <- get_marginal_distributions(
    IST,
    variables = c(
      "SEX",
      "AGE",
      "ID14",
      "RSBP",
      "RATRIAL",
      "SET14D"
    )
  )
  testthat::expect_output(print(marginals))
  testthat::expect_invisible(print(marginals))
})

Try the RESIDE package in your browser

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

RESIDE documentation built on Oct. 18, 2024, 1:07 a.m.