Skip to content

Commit d364a9e

Browse files
final tweak
1 parent 72d5063 commit d364a9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

R/data.table.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ replace_dot_alias = function(e) {
128128
}
129129
}
130130

131-
.reassign_extracted_table = function(name, value, env = parent.frame(2L), err_msg_na, err_msg_detail = NULL) {
131+
.reassign_extracted_table = function(name, value, err_msg_detail, env = parent.frame(2L), err_msg_na = NULL) {
132132
k = eval(name[[2L]], env, env)
133133
if (is.list(k)) {
134134
origj = j = if (name %iscall% "$") as.character(name[[3L]]) else eval(name[[3L]], env, env)
@@ -142,7 +142,7 @@ replace_dot_alias = function(e) {
142142
j = match(j, names(k))
143143
if (is.na(j)) {
144144
if (is.null(err_msg_na)) {
145-
internal_error("item '%s' not found in names of list", origj) # nocov
145+
internal_error("Attempt to do recursive set* operation to an unknown name %s", origj) # nocov
146146
} else {
147147
stopf(err_msg_na, origj)
148148
}

0 commit comments

Comments
 (0)