exprs function - clash with dplyr
0
5
Entering edit mode
@wolfgang-huber-3550
Last seen 12 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 • 3.4k views
ADD COMMENT
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

ADD REPLY
0
Entering edit mode

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

ADD REPLY

Login before adding your answer.

Traffic: 1001 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6