From f93567ea778d04772e32156b89c2984f2d60bbe2 Mon Sep 17 00:00:00 2001 From: Ivan K Date: Wed, 6 May 2026 11:58:37 +0300 Subject: [PATCH] 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. --- inst/tests/tests.Rraw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/tests/tests.Rraw b/inst/tests/tests.Rraw index 9f924f773..cdb4a0546 100644 --- a/inst/tests/tests.Rraw +++ b/inst/tests/tests.Rraw @@ -18419,7 +18419,7 @@ test(2264.8, print(DT, show.indices=TRUE), output=ans) if (test_bit64) local({ DT = data.table(a = 'abc', b = as.integer64(1)) suppressPackageStartupMessages(unloadNamespace("bit64")) - on.exit(suppressPackageStartupMessages(library(bit64, pos="package:base"))) + on.exit(suppressWarnings(suppressPackageStartupMessages(library(bit64, pos="package:base")))) test(2265, DT, output="abc\\s*1$") })