saezlab / liana

LIANA: a LIgand-receptor ANalysis frAmework
https://saezlab.github.io/liana/
GNU General Public License v3.0
169 stars 30 forks source link

rlang invoke deprecated #65

Closed BenjaminDEMAILLE closed 1 year ago

BenjaminDEMAILLE commented 1 year ago

Hi ! I got this message. Maybe in the next version update the rlang usage ? Avis : `invoke()` is deprecated as of rlang 0.4.0. Please use `exec()` or `inject()` instead.

thanks in advance

R 4.2.1 liana : 0.1.6

dbdimitrov commented 1 year ago

Hi @BenjaminDEMAILLE,

Using invoke is intentional, as exec and inject are simply too inefficient /w large data.

Daniel

BenjaminDEMAILLE commented 1 year ago

Thanks. What's will happen if rlang delete this function in a next version ?

dbdimitrov commented 1 year ago

I would then replace it with something like this: https://stackoverflow.com/questions/60678764/now-that-invoke-is-soft-deprecated-whats-the-alternative