[R-pkg-devel] Example fails in check
Sigbert Klinke
@|gbert @end|ng |rom w|w|@hu-ber||n@de
Fri Jul 26 08:37:15 CEST 2019
Hi,
im my package development I get the following error when checking an
example:
> m <- findMatch('test', x[[1]], FUN='leven(code)') %>% addWave(x[[2]])
Error in findMatch("test", x[[1]], FUN = "leven(code)") %>%
addWave(x[[2]]) :
could not find function "%>%"
Execution halted
In my DESCRIPTION file I wrote
Imports:
rio,
stringi,
magrittr
So, I expected that magrittr is loaded when the example is executed.
If I add an "library(magrittr)" at the beginning of the example then the
example is okay.
Any ideas what goes wrong?
Sigbert
--
https://hu.berlin/sk
https://hu.berlin/mmstat3
More information about the R-package-devel
mailing list