|
1 | 1 | - id: roxygenize |
2 | 2 | name: roxygenize |
3 | | - description: run roxygen2::roxygenize() |
| 3 | + description: run `roxygen2::roxygenize()` |
4 | 4 | entry: Rscript inst/hooks/exported/roxygenize.R |
5 | 5 | language: r |
6 | 6 | files: '^(R|man)/' |
7 | 7 | require_serial: true |
8 | 8 | minimum_pre_commit_version: "2.13.0" |
9 | 9 | - id: use-tidy-description |
10 | 10 | name: use-tidy-description |
11 | | - description: run usethis::use_tidy_description() |
| 11 | + description: run `usethis::use_tidy_description()` |
12 | 12 | entry: Rscript inst/hooks/exported/use-tidy-description.R |
13 | 13 | language: r |
14 | 14 | files: '^DESCRIPTION$' |
15 | 15 | minimum_pre_commit_version: "2.13.0" |
16 | 16 | - id: style-files |
17 | 17 | name: style-files |
18 | | - description: style files with styler |
| 18 | + description: style files with {styler} |
19 | 19 | entry: Rscript inst/hooks/exported/style-files.R |
20 | 20 | language: r |
21 | 21 | files: '(\.[rR]profile|\.[rR]|\.[rR]md|\.[rR]nw|\.[qQ]md)$' |
|
44 | 44 | minimum_pre_commit_version: "2.13.0" |
45 | 45 | - id: readme-rmd-rendered |
46 | 46 | name: readme-rmd-rendered |
47 | | - description: make sure README.Rmd hasn't been edited more recently than README.md |
| 47 | + description: make sure README.Rmd hasn't been edited more recently than `README.md` |
48 | 48 | entry: Rscript inst/hooks/exported/readme-rmd-rendered.R |
49 | 49 | language: r |
50 | 50 | files: 'README\.[Rr]?md$' |
51 | 51 | minimum_pre_commit_version: "2.13.0" |
52 | 52 | - id: codemeta-description-updated |
53 | 53 | name: codemeta-description-updated |
54 | | - description: make sure codemeta.json is in sync with DESCRIPTION. It should be run after use-tidy-description. |
| 54 | + description: make sure `codemeta.json` is in sync with `DESCRIPTION`. It should be run after use-tidy-description |
55 | 55 | entry: Rscript inst/hooks/exported/codemeta-description-updated.R |
56 | 56 | language: r |
57 | 57 | files: '^DESCRIPTION$' |
58 | 58 | minimum_pre_commit_version: "2.13.0" |
59 | 59 | - id: spell-check |
60 | 60 | name: spell-check |
61 | | - description: perform a spell check with spelling::spell_check_files() |
| 61 | + description: perform a spell check with `spelling::spell_check_files()` |
62 | 62 | entry: Rscript inst/hooks/exported/spell-check.R |
63 | 63 | language: r |
64 | 64 | exclude: > |
|
92 | 92 | minimum_pre_commit_version: "2.13.0" |
93 | 93 | - id: deps-in-desc |
94 | 94 | name: deps-in-desc |
95 | | - description: Check if dependencies that can be parsed from code are in DESCRIPTION. |
| 95 | + description: Check if dependencies that can be parsed from code are in `DESCRIPTION` |
96 | 96 | entry: Rscript inst/hooks/exported/deps-in-desc.R |
97 | 97 | language: r |
98 | 98 | files: '(\.[rR]profile|\.R|\.Rmd|\.Rnw|\.r|\.rmd|\.rnw)$' |
99 | 99 | exclude: 'renv/activate\.R' |
100 | 100 | minimum_pre_commit_version: "2.13.0" |
101 | 101 | - id: lintr |
102 | 102 | name: lintr |
103 | | - description: check if a .R file is lint free (using lintr) |
| 103 | + description: check if a `.R` file is lint free (using {lintr}) |
104 | 104 | entry: Rscript inst/hooks/exported/lintr.R |
105 | 105 | language: r |
106 | 106 | files: '(\.[rR]profile|\.R|\.Rmd|\.Rnw|\.r|\.rmd|\.rnw)$' |
107 | 107 | exclude: 'renv/activate\.R' |
108 | 108 | minimum_pre_commit_version: "2.13.0" |
| 109 | +- id: pkgdown |
| 110 | + name: pkgdown |
| 111 | + description: check if your {pkgdown} config file has the correct entries for references and articles |
| 112 | + entry: inst/hooks/exported/pkgdown.R |
| 113 | + language: script |
| 114 | + minimum_pre_commit_version: "2.13.0" |
| 115 | + files: '^man/|_pkgdown\.yml' |
0 commit comments