Skip to content

Commit d54056c

Browse files
committed
Revised precompiled vignette workflow for CRAN publication #511
1 parent be64537 commit d54056c

31 files changed

Lines changed: 49 additions & 60 deletions

.Rbuildignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,10 @@
1212
^tests/testthat/local-token.R$
1313
^tests/testthat/local-token.Rdata$
1414
^doc$
15-
^Meta$
1615
^\.zenodo.json$
1716
^\.github$
17+
^\.git$
1818
^CRAN-SUBMISSION$
1919
^cran-comments\.md$
2020
^revdep$
21+
^vignettes/*\.pdf$

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ tests/testthat/local-token.Rdata
1212
.DS_Store
1313
sample_data
1414
*.Rproj
15-
/doc/
15+
#/doc/
1616
/Meta/
1717
vignettes/*.aux
1818
vignettes/*.log
1919
vignettes/*.tex
20-
vignettes/redcapAPI-*.pdf
20+
vignettes/*.pdf

DESCRIPTION

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,11 @@ Imports:
5050
mime,
5151
shelter (>= 0.2.1)
5252
LazyLoad: yes
53-
Suggests: testthat (>= 3.0.0), Hmisc, mockery
53+
Suggests: testthat (>= 3.0.0), Hmisc, mockery, R.rsp
5454
URL: https://github.com/vubiostat/redcapAPI
5555
BugReports: https://github.com/vubiostat/redcapAPI/issues
5656
Encoding: UTF-8
5757
Roxygen: list(markdown = TRUE)
5858
RoxygenNote: 7.3.3
59+
VignetteBuilder: R.rsp
60+
Config/build/clean-inst-doc: false
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This vignette is pre-built. See inst/doc/redcapAPI-best-practices.pdf

inst/doc/redcapAPI-casting-data.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This vignette is pre-built. See inst/doc/redcapAPI-casting-data.pdf
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This vignette is pre-built. See inst/doc/redcapAPI-data-validation.pdf

inst/doc/redcapAPI-faq.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
## This vignette is pre-built. See inst/doc/redcapAPI-faq.pdf

0 commit comments

Comments
 (0)