Skip to content

Commit fc35407

Browse files
committed
deactivate test
1 parent 2cb0316 commit fc35407

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

inst/tests/tests.Rraw

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2832,9 +2832,10 @@ test(944.1, DT[, foo:=NULL], DT, warning="Tried to assign NULL to column 'foo',
28322832
test(944.2, DT[,a:=1L], data.table(a=1L)) # can now add columns to an empty data.table from v1.12.2
28332833
test(944.3, DT[,aa:=NULL], data.table(a=1L), warning="Tried to assign NULL to column 'aa', but this column does not exist to remove")
28342834
test(944.4, DT[,a:=NULL], data.table(NULL))
2835-
if (base::getRversion() >= "3.4.0") {
2836-
test(944.5, typeof(structure(NULL, class=c("data.table","data.frame"))), 'list', warning="deprecated, as NULL cannot have attributes") # R warns which is good and we like
2837-
}
2835+
# deactivate test since r88075 errors on structure(NULL)
2836+
# if (base::getRversion() >= "3.4.0") {
2837+
# test(944.5, typeof(structure(NULL, class=c("data.table","data.frame"))), 'list', warning="deprecated, as NULL cannot have attributes") # R warns which is good and we like
2838+
# }
28382839
DT = data.table(a=numeric())
28392840
test(945, DT[,b:=a+1], data.table(a=numeric(),b=numeric()))
28402841

0 commit comments

Comments
 (0)