Skip to content

Commit adfdf5b

Browse files
fix, and use fixed=TRUE
1 parent 293e446 commit adfdf5b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

R/data.table.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,10 +102,11 @@ replace_dot_alias = function(e) {
102102
# technically OK to update (though this should be rare), and since it's low-cost
103103
# to do so here because we're about to error anyway.
104104
missing_obj_fmt = gsub(
105-
"'missing_datatable_variable____'",
105+
"'____missing_datatable_variable____'",
106106
"'(?<obj_name>[^']+)'",
107-
# expresion() to avoid "no visible binding for global variable" note from R CMD check
108-
conditionMessage(tryCatch(eval(expression(`____missing_datatable_variable____`)), error=identity))
107+
# expression() to avoid "no visible binding for global variable" note from R CMD check
108+
conditionMessage(tryCatch(eval(expression(`____missing_datatable_variable____`)), error=identity)),
109+
fixed=TRUE
109110
)
110111
idx = regexpr(missing_obj_fmt, err$message, perl=TRUE)
111112
if (idx > 0L) {

0 commit comments

Comments
 (0)