tests/testthat/test-st-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 geomultistar package in your browser

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

geomultistar documentation built on Sept. 11, 2024, 6:43 p.m.