Skip to content

Commit

Permalink
Different error message from rep_len()
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico committed May 5, 2024
1 parent 204f163 commit 071fe2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tests/S4.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 071fe2b

Please sign in to comment.