You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using cor_test with external character vectors as variables, the piping selection warns of deprecation:
Replicable code:
matrix_vars <- c('var1', 'var2')
matrix_vars2 <- c('var3', 'var4')
cor_test(data, vars = matrix_vars1, vars2 = matrix_vars2)
Warning: Using an external vector in selections was deprecated in tidyselect 1.1.0.
Please use `all_of()` or `any_of()` instead.
# Was:
data %>% select(matrix_vars)
# Now:
data %>% select(all_of(matrix_vars))
See <https://tidyselect.r-lib.org/reference/faq-external-vector.html>.
Version info:
platform x86_64-pc-linux-gnu
arch x86_64
os linux-gnu
system x86_64, linux-gnu
status
major 4
minor 3.2
year 2023
month 10
day 31
svn rev 85441
language R
version.string R version 4.3.2 (2023-10-31)
nickname Eye Holes
The text was updated successfully, but these errors were encountered:
When using cor_test with external character vectors as variables, the piping selection warns of deprecation:
The text was updated successfully, but these errors were encountered: