tests/testthat/test-rawfiles.R

context("Raw files")

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

Try the datasauRus package in your browser

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

datasauRus documentation built on May 29, 2024, 1:19 a.m.