Skip to content

Commit 344765f

Browse files
Skip on covr::coverage() and on CRAN (#4454)
1 parent 5319784 commit 344765f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/testthat/test-prohibited-functions.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ R_paths <- c(
4747
R_files <- list.files(R_paths, pattern = ".*\\.(R|r)$", full.names = TRUE)
4848

4949
test_that("list up R files properly", {
50+
skip_on_covr()
51+
skip_on_cran()
52+
5053
expect_true(length(R_files) > 0)
5154
})
5255

0 commit comments

Comments
 (0)