From 071fe2b05ae1267fc9728da322adf89658a805d1 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Sat, 4 May 2024 17:19:53 -0700 Subject: [PATCH] Different error message from rep_len() --- inst/tests/S4.Rraw | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inst/tests/S4.Rraw b/inst/tests/S4.Rraw index 21a7d0a6c..229044a1b 100644 --- a/inst/tests/S4.Rraw +++ b/inst/tests/S4.Rraw @@ -61,7 +61,7 @@ removeClass("S4Composition") # miscellaneous missing tests uncovered by CodeCov difference in the process of PR #2573 [S4 portion, c.f. 1872.* in tests.Rraw] ## data.table cannot recycle complicated types short_s4_col = getClass("MethodDefinition") -test(2, data.table(a = 1:4, short_s4_col), error="attempt to replicate an object of type 'S4'") +test(2, data.table(a = 1:4, short_s4_col), error="attempt to replicate non-vector") # print dims in list-columns, #3671, c.f. 2130.* in tests.Rraw s4class = setClass("ex_class", slots = list(x="integer", y="character", z="numeric"))