tests/testthat/test-data.R

test_that("example path returns data paths properly", {
  expect_true(length(example_path()) > 0)
  expect_true(length(example_path("coculture_peak_table.csv")) >
                0)
  expect_error(example_path("a"))
})

Try the mpactr package in your browser

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

mpactr documentation built on April 3, 2025, 6:19 p.m.