Skip to content

Commit 9b86729

Browse files
committed
added get0
1 parent e32e553 commit 9b86729

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/data.table.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2982,7 +2982,7 @@ setDT = function(x, keep.rownames=FALSE, key=NULL, check.names=FALSE) {
29822982
} else if (.is_simple_extraction(name)) {
29832983
# common case is call from 'lapply()'
29842984
.reassign_extracted_table(name, x)
2985-
} else if (name %iscall% "get") { # #6725
2985+
} else if (name %iscall% c("get", "get0")) { # #6725
29862986
# edit 'get(nm, env)' call to be 'assign(nm, x, envir=env)'
29872987
name = match.call(get, name)
29882988
name[[1L]] = quote(assign)

0 commit comments

Comments
 (0)