Skip to content

Commit 96b1f46

Browse files
pandoc can't be easily mocked
1 parent 80a688d commit 96b1f46

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

.github/workflows/end-to-end.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ jobs:
1111
env:
1212
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
1313
steps:
14+
- uses: r-lib/actions/setup-pandoc@v2
15+
1416
- uses: r-lib/actions/setup-r@v2
1517

1618
- uses: actions/checkout@v2

.github/workflows/hook-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ jobs:
2424
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
2525

2626
steps:
27+
- uses: r-lib/actions/setup-pandoc@v2
2728
- uses: actions/checkout@v2
2829
- uses: r-lib/actions/setup-r@v2
2930
with:

vignettes/available-hooks.Rmd

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -331,10 +331,12 @@ This hook does not modify any file.
331331
Check if your {pkgdown} config file (e.g. `_pkgdown.yml` in your root) has the
332332
correct entries for references and articles.
333333
This hook skips the time-consuming parts of building the index and reference and
334-
only performs the validation.
334+
only performs the validation. Hence we don't rely on the extensive dependency
335+
graph of {pkgdown} being installed, including packages with heavy build-time
336+
dependencies and system libraries.
335337

336338
For this check, we rely on the the global R package library and require all
337-
development dependencies of the package to be installed, as well as {pkgdown}
338-
and {mockery}.
339+
development dependencies of the package you want to run this hook for to be
340+
installed, as well as {pkgdown} (without its dependencies) and {mockery}.
339341

340342
This hook does not modify files. Added in version 0.3.2.9003.

0 commit comments

Comments
 (0)