The package throws an error if the function it is referencing contains ":=" in one of its operations.
Simply example below where df is any data frame. Running the code below in a normal R console works, however when wrapped in a function and used in the pipeline it throws an error.
Example Cod:
df <- df %>%
mutate(!!sym("this_is_a_test") := 1)
Error:
ERROR [2019-02-27 15:46:58] || EXCEPTION OCCURED WHILE RUNNING THE PIPELINE FUNCTION WITH PROVIDED PARAMETERS: The LHS of := must be a string or a symbol ||
ERROR [2019-02-27 15:46:58] Error in genericPipelineException(error = structure(list(message = "The LHS of := must be a string or a symbol", : || EXCEPTION OCCURED WHILE RUNNING THE PIPELINE FUNCTION WITH PROVIDED PARAMETERS: The LHS of := must be a string or a symbol ||
The package throws an error if the function it is referencing contains ":=" in one of its operations.
Simply example below where df is any data frame. Running the code below in a normal R console works, however when wrapped in a function and used in the pipeline it throws an error.
Example Cod:
df <- df %>%
mutate(!!sym("this_is_a_test") := 1)
Error:
ERROR [2019-02-27 15:46:58] || EXCEPTION OCCURED WHILE RUNNING THE PIPELINE FUNCTION WITH PROVIDED PARAMETERS: The LHS of
:=must be a string or a symbol ||ERROR [2019-02-27 15:46:58] Error in genericPipelineException(error = structure(list(message = "The LHS of
:=must be a string or a symbol", : || EXCEPTION OCCURED WHILE RUNNING THE PIPELINE FUNCTION WITH PROVIDED PARAMETERS: The LHS of:=must be a string or a symbol ||