Add additional dependencies for roxygenize in pre-commit config
This commit is contained in:
parent
f09ec46477
commit
406ee1ac68
1 changed files with 17 additions and 0 deletions
|
|
@ -7,6 +7,23 @@ repos:
|
|||
- id: style-files
|
||||
args: [--style_pkg=styler, --style_fun=tidyverse_style]
|
||||
- id: roxygenize
|
||||
# roxygen requires loading pkg -> add dependencies from DESCRIPTION
|
||||
additional_dependencies:
|
||||
- ggplot2
|
||||
- rlang
|
||||
- grDevices
|
||||
- glue
|
||||
- scales
|
||||
- ggtext
|
||||
- ggrepel
|
||||
- tidyr
|
||||
- dplyr
|
||||
- ggalluvial
|
||||
- viridisLite
|
||||
- waffle
|
||||
- stringr
|
||||
- checkmate
|
||||
|
||||
# codemeta must be above use-tidy-description when both are used
|
||||
# - id: codemeta-description-updated
|
||||
- id: use-tidy-description
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue