tests/testthat/test-rawfiles.R

context("Raw files")

test_that("extdata exists", {
  files = list.files(system.file("extdata", package = "datasauRus"))
  expect_equal(length(files), 9)
})

Try the datasauRus package in your browser

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

datasauRus documentation built on May 5, 2022, 1:06 a.m.