File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change
1
+ # nocov start
1
2
.default_ignore_start <- " styler: off"
2
3
.default_ignore_stop <- " styler: on"
3
4
@@ -67,3 +68,5 @@ remove_cache_old_versions <- function() {
67
68
unlink(dir , recursive = TRUE , force = TRUE )
68
69
})
69
70
}
71
+
72
+ # nocov end
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ test_that("styler tests did not use R.cache in user root", {
2
2
skip_on_cran()
3
3
skip_on_covr()
4
4
expect_true(
5
- length(list.files(R.cache :: getCachePath(" styler" ), recursive = TRUE )) == 0
5
+ length(list.files(R.cache :: getCachePath(" styler" ), recursive = TRUE )) == 0L
6
6
)
7
7
})
8
8
@@ -11,6 +11,6 @@ test_that("clear Cache", {
11
11
skip_on_cran()
12
12
skip_on_covr()
13
13
expect_true(
14
- length(list.dirs(R.cache :: getCachePath(" styler" ))) == 1
14
+ length(list.dirs(R.cache :: getCachePath(" styler" ))) == 1L
15
15
)
16
16
})
You can’t perform that action at this time.
0 commit comments