Skip to content

Commit f93567e

Browse files
committed
tests: suppress "built under newer R" warning
When using the .0 release of R with binary packages from CRAN, library() will complain about the binary package having been built under a newer (but still compatible in this case) version of R. This was already suppressed in most places, but not in test 2265.
1 parent 6a5bd54 commit f93567e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

inst/tests/tests.Rraw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18419,7 +18419,7 @@ test(2264.8, print(DT, show.indices=TRUE), output=ans)
1841918419
if (test_bit64) local({
1842018420
DT = data.table(a = 'abc', b = as.integer64(1))
1842118421
suppressPackageStartupMessages(unloadNamespace("bit64"))
18422-
on.exit(suppressPackageStartupMessages(library(bit64, pos="package:base")))
18422+
on.exit(suppressWarnings(suppressPackageStartupMessages(library(bit64, pos="package:base"))))
1842318423
test(2265, DT, output="abc\\s*1$")
1842418424
})
1842518425

0 commit comments

Comments
 (0)