tests/testthat/test-prepare_join.R

context("test prepare_join")

test_that("prepare_join works", {
  tb <- prepare_join(mrs_age_test)

  expect_equal(unique(unlist(
    dplyr::summarise_all(tb, class), use.names = FALSE
  )), "character")
  expect_equal(tb$`Data Availability Date`[4], "___UNKNOWN___")
})

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.