Skip to content

Commit 3bc4cb8

Browse files
committed
removed at_end arg as we were not using it and likely will not either in future (discussed in #216)
1 parent 5874b1c commit 3bc4cb8

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

R/misc.R

+2-5
Original file line numberDiff line numberDiff line change
@@ -33,11 +33,8 @@ names0 <- function(num, prefix = "x") {
3333
paste0(prefix, ind)
3434
}
3535

36-
add_class <- function(x, cls, at_end = FALSE) {
37-
class(x) <- if (at_end)
38-
c(class(x), cls)
39-
else
40-
c(cls, class(x))
36+
add_class <- function(x, cls) {
37+
class(x) <- c(cls, class(x))
4138
x
4239
}
4340

0 commit comments

Comments
 (0)