exprs function - clash with dplyr
0
5
Entering edit mode
@wolfgang-huber-3550
Last seen 6 weeks ago
EMBL European Molecular Biology Laborat…

I wanted to highlight a recent1 change in the dplyr package that is likely to break a lot of people's existing code. That package now exports2 a function named exprs, which masks a function of the same name from the Biobase package. The latter tends to be used frequently in conjunction with ExpressionSet objects. This may lead to obscure error messages. I am not sure whether a sane remedy exists.

1 https://github.com/tidyverse/dplyr/blob/master/NEWS.md  -- dplyr 0.7.5 (2018-04-14)

2 More precisely, re-exports it from the rlang package

exprs dplyr Biobase • 1.5k views
3
Entering edit mode

I end up by assigning exprs specifically to Biobase::exprs and place it at the beginning of the code.

exprs=Biobase::exprs

0
Entering edit mode

The conflicted package forces one to resolve conflicts, and might be a 'best practice'.