Skip to content

Commit f9f28de

Browse files
use compatible description
1 parent 6b560c1 commit f9f28de

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

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

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff 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

tests/testthat/reference-objects/DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@ Remotes:
2222
Encoding: UTF-8
2323
Roxygen: list(markdown = TRUE)
2424
RoxygenNote: 6.1.1
25+
URL: https://example.com

0 commit comments

Comments
 (0)