Skip to content

Commit

Permalink
Precompute vignette, disable examples
Browse files Browse the repository at this point in the history
To please BDR
  • Loading branch information
jeroen committed Aug 7, 2024
1 parent 61ea5ac commit 8ad7525
Show file tree
Hide file tree
Showing 8 changed files with 508 additions and 44 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
fail-fast: false
matrix:
config:
- {os: macOS-latest, r: 'release'}
- {os: windows-latest, r: '3.6'}
- {os: macOS-13, r: 'release'}
- {os: macOS-14, r: 'release'}
- {os: windows-latest, r: '4.1'}
- {os: windows-latest, r: 'release'}
- {os: ubuntu-latest, r: 'devel', http-user-agent: 'release'}
Expand All @@ -29,7 +29,7 @@ jobs:
R_KEEP_PKG_SOURCE: yes

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: r-lib/actions/setup-pandoc@v2

Expand All @@ -46,4 +46,4 @@ jobs:

- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
args: 'c("--no-manual", "--as-cran", "--run-donttest")'
4 changes: 0 additions & 4 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,7 @@ Imports: Rcpp, digest
LinkingTo: Rcpp (>= 0.12.12)
Suggests: spelling,
testthat,
pdftools,
janeaustenr,
wordcloud2,
knitr,
stopwords,
rmarkdown
VignetteBuilder: knitr
RoxygenNote: 7.2.3
Expand Down
3 changes: 3 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
3.0.4
- Disable online examples and vignettes for CRAN policy

3.0.3
- Skip a test on MacOS because of buggy iconv in Sonoma
- Remove CXX11
Expand Down
2 changes: 2 additions & 0 deletions R/hunspell.R
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
#' hunspell_stem(words)
#' hunspell_analyze(words)
#'
#' \donttest{
#' # Check an entire latex document
#' tmpfile <- file.path(tempdir(), "1406.4806v1.tar.gz")
#' download.file("https://arxiv.org/e-print/1406.4806v1", tmpfile, mode = "wb")
Expand All @@ -89,6 +90,7 @@
#' allwords <- hunspell_parse(text, format = "latex")
#' stems <- unlist(hunspell_stem(unlist(allwords)))
#' words <- head(sort(table(stems), decreasing = TRUE), 200)
#' }
hunspell <- function(text, format = c("text", "man", "latex", "html", "xml"),
dict = dictionary("en_US"), ignore = en_stats){
stopifnot(is.character(text))
Expand Down
2 changes: 2 additions & 0 deletions man/hunspell.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 8ad7525

Please sign in to comment.