tests/testthat/test-here.R

local_project()

test_that("here() finds files", {
  expect_true(file.exists(here("analysis/report.Rmd")))
})
r-lib/here documentation built on Dec. 11, 2024, 10:33 p.m.