I would like to use the pipe-operator %>%
introduced in the magrittr
package in a package I wrote myself to chain dplyr
data transformations. magrittr
is listed as Import
in the DESCRIPTION
file. After loading my own package and testing the function which uses the pipe-operator I get the following error message:
Error in functionname(parameter, : could not find function "%>%"
Changing %>%
to magrittr::%>%
in the function source code does not help either because the package cannot be built anymore.
Question&Answers:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…