insightsengineering/random.cdisc.data

Make usage of `.data$` consistent

edelarua opened this issue · 1 comments

Determine whether the .data$ prefix is necessary/useful in dplyr function calls and either remove all instances or ensure it is consistent everywhere accordingly.

I think the choice is clear:

Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
ℹ Please use `"pos_last_postbl"` instead of `.data$pos_last_postbl`
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
ℹ Please use `"n_pos"` instead of `.data$n_pos`
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
ℹ Please use `"onset_ada"` instead of `.data$onset_ada`
This warning is displayed once every 8 hours.
Call `lifecycle::last_lifecycle_warnings()` to see where this warning was generated.
Warning: Use of .data in tidyselect expressions was deprecated in tidyselect 1.2.0.
ℹ Please use `"last_ada"` instead of `.data$last_ada`