refactor: Replace deprecated mutate_at/vars with across() (M11) #160
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Replace deprecated dplyr functions with their modern equivalents.
Changes
M11: Replace deprecated mutate_at/vars with across()
Location:
list_cansim_cubes()inR/cansim_tables_list.RThis addresses deprecation warnings when using dplyr 1.0.4+.
Deferred Items
The following items from the audit plan require coauthor discussion before implementation:
H11: Standardize language parameter defaults
language="english"(most), others uselanguage="en"cleaned_ndm_language(), so behavior is identicalH12: Add parameter validation
M12: Standardize refresh parameter
get_cansim()uses logical,get_cansim_connection()uses "auto"/TRUE/FALSEM13: default_month documentation
M14: Extract language constants
Files Modified
R/cansim_tables_list.R:list_cansim_cubes()functionTest plan
devtools::check()passes (0 errors, 0 warnings)Related Issues
Addresses code quality item from code audit plan. See #150-153 for discussion items requiring coauthor input.
🤖 Generated with Claude Code