Skip to content

Commit 68d00f4

Browse files
authored
fix internal warning when cc() (#7334)
1 parent c905427 commit 68d00f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21600,7 +21600,7 @@ test(2335.5, isoyear("2019-12-30"), 2020L)
2160021600
test(2335.6, isoyear(as.Date("2019-12-30")), 2020L)
2160121601

2160221602
# t1-t2 for Date/IDate should be consistent, modulo storage mode #4979
21603-
if (getRversion() >= "4.3.0") { ## follow up of #7213, see #7321
21603+
if (base::getRversion() >= "4.3.0") { ## follow up of #7213, see #7321
2160421604
t1 = as.IDate("2025-07-01")
2160521605
t2 = as.IDate("2025-06-01")
2160621606
test(2336.1, all.equal(as.Date(t1) - as.Date(t2), t1 - t2))
@@ -21613,7 +21613,7 @@ if (getRversion() >= "4.3.0") { ## follow up of #7213, see #7321
2161321613

2161421614
# fwrite: allow dec=',' with single column, #7227
2161521615
test(2337.1, fwrite(data.table(1), dec=","), NULL)
21616-
if (getRversion() >= "4.0.0") { # rely on stopifnot(named = ...) for correct message
21616+
if (base::getRversion() >= "4.0.0") { # rely on stopifnot(named = ...) for correct message
2161721617
test(2337.2, fwrite(data.table(0.1, 0.2), dec=",", sep=","), error = "dec and sep must be distinct")
2161821618
}
2161921619
test(2337.3, is.null(fwrite(data.table(c(0.1, 0.2)), dec=",", sep="\t")))

0 commit comments

Comments
 (0)