XiaoyangSu / AccuCor

Other
16 stars 11 forks source link

Remove deprecated rlang syntax #3

Closed lparsons closed 4 years ago

lparsons commented 4 years ago

The package uses features from the rlang package, however the notation is deprecated and should be improved. As rlang is required by many other packages and it's impossible to maintain an old version of this.

Warning: Prefixing UQ() with the rlang namespace is deprecated as of rlang 0.3.0. Please use the non-prefixed form or !! instead.

Bad: rlang::expr(mean(rlang::UQ(var) * 100))

 # Ok:        rlang::expr(mean(UQ(var) * 100))
 # Good:   rlang::expr(mean(!!var * 100))

This warning is displayed once per session.

Reported by Matthias P via email