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 8d77127 commit 9acec7dCopy full SHA for 9acec7d
inst/tests/tests.Rraw
@@ -19226,7 +19226,8 @@ test(2286,
19226
x<2, structure(list(1), class = "foo"),
19227
x<3, structure(list(2), class = "foo"),
19228
# Force gc() and some allocations which have a good chance at landing in the region that was earlier left unprotected
19229
- { gc(full = TRUE); replicate(10, FALSE); x<4 },
+ # TODO(R>=3.5.0): no need to branch here for gc(full=TRUE)
19230
+ { if ("full" %in% names(formals(gc))) gc(full = TRUE) else gc(); replicate(10, FALSE); x<4 },
19231
`attr<-`(list(3), "class", "foo")),
19232
structure(list(1, 2, 3), class = "foo"))
19233
0 commit comments