We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e129fd0 commit eb2411fCopy full SHA for eb2411f
tests/testthat/test_Cache.R
@@ -108,7 +108,9 @@ test_that("pruning works by number of files sorts by key if timestamp are identi
108
k3 <- cache$push(cars)
109
expect_identical(cache$n, 3L)
110
111
- Sys.setFileTime(cache$files$path, "1999-01-01 00:00:00")
+ for (p in cache$files$path){ # loop necessary for compat with R < 3.6.0
112
+ Sys.setFileTime(p, "1999-01-01 00:00:00")
113
+ }
114
115
expect_identical(cache$files$key[[1]], k1)
116
expect_identical(cache$files$key[[2]], k2)
0 commit comments