tests/testthat/test-examples.R

library(testthat)
library(mdbr)

test_that("examples work for path and name", {
  skip_on_cran()
  expect_equal(mdb_example(NULL), "nycflights13.mdb")
  expect_true(file.exists(mdb_example()))
})

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.