tests/testthat/test-tables.R

library(testthat)
library(mdbr)

test_that("tables can be listed as vector", {
  skip_on_cran()
  skip_if_not(has_mdb_tools())
  t <- mdb_tables(mdb_example())
  expect_type(t, "character")
  expect_length(t, 4)
})

Try the mdbr package in your browser

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

mdbr documentation built on May 29, 2024, 7:27 a.m.