Mayrlab / scUTRquant

Bioinformatics pipeline for single-cell 3' UTR isoform quantification
https://Mayrlab.github.io/scUTRquant
GNU General Public License v3.0
14 stars 3 forks source link

Update tidyselect syntax #91

Open mfansler opened 1 month ago

mfansler commented 1 month ago

There is a warning omitted from the R scripts respecting using a vector to do column selection. This should be updated to preemptively avoid possible future support for the substandard syntax. For example:

Warning message:
Using an external vector in selections was deprecated in tidyselect 1.1.0.
ℹ Please use `all_of()` or `any_of()` instead.
  # Was:
  data %>% select(cols_to_rm)
  # Now:
  data %>% select(all_of(cols_to_rm))
See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.