tests/testthat/test-group_table.R

context("test group_table")

test_that("group_table works", {
  ft <- group_table(st_mrs_age_test$fact$mrs_age[, -c(1:3)])

  expect_equal(sort(ft$nrow_agg), c(3L, 4L, 5L, 6L, 6L))
})

Try the starschemar package in your browser

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

starschemar documentation built on May 29, 2024, 10:49 a.m.