Search
Question: exprs function - clash with dplyr
5
gravatar for Wolfgang Huber
4 weeks 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 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

ADD COMMENTlink modified 4 weeks ago • written 4 weeks ago by Wolfgang Huber13k
3

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

exprs=Biobase::exprs

ADD REPLYlink modified 21 days ago • written 21 days ago by Jinsong Zhang30

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

ADD REPLYlink written 16 days ago by Martin Morgan ♦♦ 21k
Please log in to add an answer.

Help
Access

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