Skip to content

Commit 0ff7e8d

Browse files
committed
added nocov
1 parent 2793cea commit 0ff7e8d

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
@@ -137,7 +137,7 @@ replace_dot_alias = function(e) {
137137
if (is.character(j)) {
138138
if (length(j) != 1L) stopf("Cannot assign to an under-allocated recursively indexed list -- L[[i]][,:=] syntax is only valid when i is length 1, but its length is %d", length(j))
139139
j = match(j, names(k))
140-
if (is.na(j)) internal_error("item '%s' not found in names of list", origj)
140+
if (is.na(j)) internal_error("item '%s' not found in names of list", origj) # nocov
141141
}
142142
} else if (caller == "setDT") {
143143
if (length(j) == 1L) {

0 commit comments

Comments
 (0)