We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8963e61 commit 91b9bd6Copy full SHA for 91b9bd6
R/bpipe.R
@@ -388,7 +388,9 @@ pipe_impl <- function(pipe_left_arg,
388
(length(as.character(pipe_right_arg[[1]]))==1) &&
389
(as.character(pipe_right_arg[[1]])=="function")
390
# special-case .() on RHS
391
- dot_paren <- (is.call(pipe_right_arg) && as.character(pipe_right_arg[[1]])==".")
+ dot_paren <- is.call(pipe_right_arg) &&
392
+ (length(as.character(pipe_right_arg[[1]]))==1) &&
393
+ (as.character(pipe_right_arg[[1]])[[1]]==".")
394
# check for right-apply situations
395
if(is.function(pipe_right_arg) ||
396
is_name || qualified_name ||
0 commit comments