Skip to content

Commit

Permalink
Update checks and reknit README
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenneth Benoit authored and Kenneth Benoit committed Dec 1, 2024
1 parent 6ff2e01 commit 942a430
Show file tree
Hide file tree
Showing 6 changed files with 47 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/R-CMD-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ on:
push:
branches: [main, master]
pull_request:
branches: [main, master]

name: R-CMD-check
name: R-CMD-check.yaml

permissions: read-all

jobs:
R-CMD-check:
Expand Down Expand Up @@ -47,3 +48,4 @@ jobs:
- uses: r-lib/actions/check-r-package@v2
with:
upload-snapshots: true
build_args: 'c("--no-manual","--compact-vignettes=gs+qpdf")'
4 changes: 3 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,13 @@ Suggests:
rmarkdown,
quanteda (>= 3.0),
testthat,
covr
covr,
spelling
URL: https://readtext.quanteda.io/, https://github.com/quanteda/readtext
Encoding: UTF-8
BugReports: https://github.com/quanteda/readtext/issues
LazyData: TRUE
VignetteBuilder: knitr
RoxygenNote: 7.3.2
Roxygen: list(markdown = TRUE)
Language: en-GB
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ all docvars and other meta-data.

``` r
library("quanteda")
## Package version: 3.3.1
## Package version: 4.1.0
## Unicode version: 14.0
## ICU version: 71.1
## Parallel computing: 10 of 10 threads used.
Expand All @@ -149,11 +149,11 @@ summary(corpus_csv, 5)
## Corpus consisting of 5 documents, showing 5 documents:
##
## Text Types Tokens Sentences Year President FirstName
## inaugCorpus.csv.1 625 1539 23 1789 Washington George
## inaugCorpus.csv.1 625 1540 23 1789 Washington George
## inaugCorpus.csv.2 96 147 4 1793 Washington George
## inaugCorpus.csv.3 826 2577 37 1797 Adams John
## inaugCorpus.csv.4 717 1923 41 1801 Jefferson Thomas
## inaugCorpus.csv.5 804 2380 45 1805 Jefferson Thomas
## inaugCorpus.csv.3 826 2578 37 1797 Adams John
## inaugCorpus.csv.4 717 1927 41 1801 Jefferson Thomas
## inaugCorpus.csv.5 804 2381 45 1805 Jefferson Thomas
```

### Text Interchange Format compatibility
Expand Down
31 changes: 31 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
Aki
CMD
Codecov
Nexis
UDHR
XPath
antiword
basenames
bz
cheatsheet
csv
docid
docvar
docvars
etc
filemasks
filetypes
gz
json
linebreak
linux
pdftools
quanteda
readODS
rtf
stringi
testthat
tibble
tsv
xls
’s
1 change: 1 addition & 0 deletions man/readtext-package.Rd

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

3 changes: 3 additions & 0 deletions tests/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
if(requireNamespace('spelling', quietly = TRUE))
spelling::spell_check_test(vignettes = TRUE, error = FALSE,
skip_on_cran = TRUE)

0 comments on commit 942a430

Please sign in to comment.