Skip to content

Commit 7425fb4

Browse files
Update autoprint.Rout.save
1 parent 8fd7789 commit 7425fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/autoprint.Rout.save

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ NULL
172172
>
173173
> # child class of data.table doesn't induce unintended print, #3029
174174
> dt = data.table(x = 1)
175-
> class(dt) = c("foo", "data.table", "data.frame")
175+
> setattr(dt, "class", c("foo", "data.table", "data.frame"))
176176
> print.foo = function(x, ...) {
177177
+ NextMethod("print")
178178
+ }

0 commit comments

Comments
 (0)