Question: exprs function - clash with dplyr
gravatar for Wolfgang Huber
15 months ago by
EMBL European Molecular Biology Laboratory
Wolfgang Huber13k wrote:

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  -- dplyr 0.7.5 (2018-04-14)

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

biobase dplyr exprs • 485 views
ADD COMMENTlink modified 15 months ago • written 15 months ago by Wolfgang Huber13k

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


ADD REPLYlink modified 14 months ago • written 14 months ago by Jinsong Zhang60

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

ADD REPLYlink written 14 months ago by Martin Morgan ♦♦ 23k
Please log in to add an answer.


Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 143 users visited in the last hour