From cc258779f605974edfcb59a855520d366e157d9f Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Tue, 10 Dec 2024 10:02:10 +0800 Subject: [PATCH] Remove obsolete deprecation comment --- R/data.table.R | 2 -- 1 file changed, 2 deletions(-) diff --git a/R/data.table.R b/R/data.table.R index 6594cb928..ed0f6b0b3 100644 --- a/R/data.table.R +++ b/R/data.table.R @@ -2077,8 +2077,6 @@ as.matrix.data.table = function(x, rownames=NULL, rownames.value=NULL, ...) { if (!is.null(rownames)) { if (!is.null(rownames.value)) stopf("rownames and rownames.value cannot both be used at the same time") if (length(rownames)>1L) { - # TODO in future as warned in NEWS for 1.11.6: - # warningf("length(rownames)>1 is deprecated. Please use rownames.value= instead") if (length(rownames)!=nrow(x)) stopf("length(rownames)==%d but nrow(DT)==%d. The rownames argument specifies a single column name or number. Consider rownames.value= instead.", length(rownames), nrow(x)) rownames.value = rownames