Skip to content

Commit

Permalink
quote return in pipeline_on_exit to avoid r check note
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Nov 12, 2020
1 parent 7351b89 commit 626de44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/pipe_helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ pipeline_on_exit <- function(env) {
# Will be `NULL` in case of error. This doesn't matter here since
# we only modify return values that inherit from `"jqr"`.
if (!is.null(out)) {
do.call(return, alist(.jq_exitfun(returnValue())), envir = env)
do.call("return", alist(.jq_exitfun(returnValue())), envir = env)
}
}

Expand Down

0 comments on commit 626de44

Please sign in to comment.