Skip to content

Commit 1731092

Browse files
committed
add tidy check for html to fix R chk Note. taken from ergm.
1 parent dc13022 commit 1731092

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/R-CMD-check.yaml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,10 @@ jobs:
4646

4747
- uses: r-lib/actions/check-r-package@v2
4848
with:
49-
upload-snapshots: true
49+
upload-snapshots: true
50+
51+
- name: Install tidy (on Linux if running vignettes)
52+
if: runner.os == 'Linux' && contains(matrix.config.flags, 'vignettes')
53+
run: |
54+
/usr/bin/sudo DEBIAN_FRONTEND=noninteractive apt-get install -y tidy
55+
shell: bash

0 commit comments

Comments
 (0)