tests/testthat/test-bdc_create_dir.R

## skip("dont run")
bdc_create_dir()

test_that("bdc dir exists", {
  expect_true(dir.exists(here::here("Output/Check")))
  expect_true(dir.exists(here::here("Output/Intermediate")))
  expect_true(dir.exists(here::here("Output/Report")))
  expect_true(dir.exists(here::here("Output/Figures")))

  unlink(here::here("Output"), recursive = TRUE)
})
brunobrr/bdc documentation built on Nov. 21, 2024, 4:18 a.m.