Skip to content

Commit

Permalink
call2 instead of invoke for process execution
Browse files Browse the repository at this point in the history
call2 instead of invoke for process execution
  • Loading branch information
PondiB authored Apr 28, 2023
2 parents a57ab5e + 244a069 commit 2c8d990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/ExecutableProcess-class.R
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#' Executable process
#'
#' @include Process-class.R
#' @importFrom rlang invoke
#' @importFrom rlang call2
#' @field job Attached job to the process
#'
#' @export
Expand Down Expand Up @@ -76,8 +76,8 @@ ExecutableProcess <- R6Class(

}
parameterList$job = self$job
result = invoke(self$operation, parameterList)
message("Result invoked using exec keyword in Executable Process")
result = rlang::call2(self$operation, !!!parameterList)
message("Result invoked using call2 keyword in Executable Process")

return(result)
}
Expand Down

0 comments on commit 2c8d990

Please sign in to comment.