Skip to content

Commit b8d74c4

Browse files
fix dependencies
1 parent 00612d6 commit b8d74c4

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,19 @@ URL: https://lorenzwalthert.github.io/precommit/,
1414
Imports:
1515
R.cache,
1616
cli,
17-
docopt (>= 0.7.1),
1817
fs,
1918
here,
2019
magrittr,
2120
purrr,
2221
rlang,
2322
rprojroot,
2423
rstudioapi,
25-
tibble,
2624
withr,
2725
yaml
2826
Suggests:
2927
desc,
3028
digest,
29+
docopt (>= 0.7.1),
3130
git2r,
3231
glue,
3332
knitr,
@@ -40,6 +39,7 @@ Suggests:
4039
spelling,
4140
styler,
4241
testthat (>= 2.1.0),
42+
tibble,
4343
usethis (>= 2.0.0)
4444
VignetteBuilder:
4545
knitr

R/precommit-package.R

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,9 @@ if (getRversion() >= "2.15.1") {
2121
NULL
2222
))
2323
}
24+
25+
if (FALSE) {
26+
# {here} is only used as a dependency for default arguments.
27+
# this is to avoid a false positive CRAN note.
28+
here::here
29+
}

0 commit comments

Comments
 (0)