tidyselect deprecated using .data in the selection context, leading to our tests generating many warnings like this:
Warning ('test-stories-to-yaml.R:5'): stories_to_yaml() works correctly with google sheet
Use of .data in tidyselect expressions was deprecated in tidyselect
1.2.0.
ℹ Please use `"StoryDescription"` instead of `.data$StoryDescription`
Switch all of these spots over to using the string form.
After these changes, the full test suite passes (including MRGVALIDATE_TEST_GHE- and {GHE,GH}_PAT-guarded tests) when executed under Rscript -e 'options(warn = 2)' -e 'devtools::test()'.
tidyselect deprecated using .data in the selection context, leading to our tests generating many warnings like this:
Switch all of these spots over to using the string form.
After these changes, the full test suite passes (including
MRGVALIDATE_TEST_GHE
- and{GHE,GH}_PAT
-guarded tests) when executed underRscript -e 'options(warn = 2)' -e 'devtools::test()'
.More information: https://www.tidyverse.org/blog/2022/10/tidyselect-1-2-0/#using-data-inside-selections