inst/testme/_epilogue/090.gc.R
raw| 1 | ## Travis CI specific: Explicit garbage collection because it |
| 2 | ## looks like Travis CI might run out of memory during 'covr' |
| 3 | ## testing and we now have so many tests. /HB 2017-01-11 |
| 4 | if ("covr" %in% loadedNamespaces()) { |
| 5 | res <- gc() |
| 6 | testme <- as.environment("testme") |
| 7 | if (testme[["debug"]]) print(res) |
| 8 | } |