File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
tests/testthat/reference-objects Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -62,28 +62,34 @@ jobs:
6262 - name : Run pre-commit
6363 run : |
6464 brew install pre-commit
65+ pre-commit install
6566 cat DESCRIPTION
66- echo 'one' > README.Rmd
67- echo 'one' >> codemeta.json
68- echo 'one' > README.md
67+
6968 echo "#' some code\n#'\n#' @param here.\n#' @name somethings\nNULL" > R/test.R # overwrite if anything there
70- pre-commit install
7169 echo 'running R/test.R'
7270 pre-commit run --files R/test.R
71+
7372 echo 'running DESCRIPTION'
7473 pre-commit run --files DESCRIPTION
74+
75+ echo 'one' > README.Rmd
76+ echo 'one' >> codemeta.json
77+ echo 'one' > README.md
7578 git add README*
7679 echo 'running README'
7780 pre-commit run --files README.Rmd
81+
7882 cp tests/testthat/in/_pkgdown-index-articles.yml _pkgdown.yml
7983 rm -rf vignettes
8084 mkdir vignettes
8185 cp tests/testthat/in/pkgdown.Rmd vignettes/
8286 rm -rf man/
8387 mkdir -p man
8488 cp tests/testthat/in/autoupdate.Rd man/
89+ cp tests/testthat/reference-objects/DESCRIPTION .
8590 echo 'running _pkgdown.yml'
8691 pre-commit run --files _pkgdown.yml
92+
8793 echo 'running man/autoupdate.Rd'
8894 pre-commit run --files man/autoupdate.Rd
8995 git reset HEAD --hard # restore initial state
Original file line number Diff line number Diff line change @@ -22,3 +22,4 @@ Remotes:
2222Encoding: UTF-8
2323Roxygen: list(markdown = TRUE)
2424RoxygenNote: 6.1.1
25+ URL: https://example.com
You can’t perform that action at this time.
0 commit comments