Skip to content

Commit 8b5e779

Browse files
committed
evaluation frame for meanwhile pipe
1 parent bd46825 commit 8b5e779

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/pipe.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
`%~%` <- function(x, expr) {
149149
call <- substitute(expr)
150150
if (unresolved(x)) while (unresolved(x <- x$data)) {
151-
eval(call, envir = parent.frame(2L), enclos = baseenv())
151+
eval(call, envir = parent.frame(), enclos = baseenv())
152152
}
153153
x
154154
}

0 commit comments

Comments
 (0)