tests/testthat/helper-fixtures.R

fixture_path <- function(...) {
  testthat::test_path("fixtures", ...)
}

has_fixture <- function(...) {
  file.exists(fixture_path(...))
}

Try the ngme2 package in your browser

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

ngme2 documentation built on May 20, 2026, 9:10 a.m.