Skip to content

Commit e93e097

Browse files
committed
using get_code_attr
1 parent 55149c2 commit e93e097

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/qenv-c.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,8 +89,8 @@ c.qenv <- function(...) {
8989
stop(join_validation)
9090
}
9191

92-
x_id <- vapply(x@code, attr, which = "id", integer(1))
93-
y_id <- vapply(y@code, attr, which = "id", integer(1))
92+
x_id <- get_code_attr(x, "id")
93+
y_id <- get_code_attr(y, "id")
9494
x@code <- c(x@code, y@code[!y_id %in% x_id])
9595

9696
# insert (and overwrite) objects from y to x

0 commit comments

Comments
 (0)