tests/testthat/test-setup_lintr.R

skip("Too slow and buggy")

test_that("setup_lintr can create the `.lintr` file", {
  create_dirs(dirs = NULL)
  setup_lintr(exclude_path = "output")
  expect_true(file.exists(".lintr"))
  unlink(c("data", "output", "R", ".lintr"), recursive = TRUE)

})
kguidonimartins/misc documentation built on Dec. 20, 2024, 7:03 p.m.