tests/testthat/test-is_conformed_dimension.R

context("test is_conformed_dimension")

test_that("is_conformed_dimension works", {

  expect_equal(is_conformed_dimension(ct_mrs_test$dimension$when), TRUE)
  expect_equal(is_conformed_dimension(ct_mrs_test$star$mrs_age$dimension$when), TRUE)
  expect_equal(is_conformed_dimension(ct_mrs_test$star$mrs_age$dimension$who), FALSE)
})

Try the starschemar package in your browser

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

starschemar documentation built on Nov. 11, 2023, 5:09 p.m.