Skip to content

Commit 2b01ad3

Browse files
expression->quote
1 parent af479d1 commit 2b01ad3

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
@@ -106,7 +106,7 @@ replace_dot_alias = function(e) {
106106
"'____missing_datatable_variable____'",
107107
"'(?<obj_name>[^']+)'",
108108
# expression() to avoid "no visible binding for global variable" note from R CMD check
109-
conditionMessage(tryCatch(eval(expression(`____missing_datatable_variable____`)), error=identity)),
109+
conditionMessage(tryCatch(eval(quote(`____missing_datatable_variable____`)), error=identity)),
110110
fixed=TRUE
111111
)
112112
idx = regexpr(missing_obj_regex, err_str, perl=TRUE)

0 commit comments

Comments
 (0)