Skip to content

Commit

Permalink
Check spelling automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
ms609 committed Jan 3, 2022
1 parent a6a0e1c commit f3146e3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ Suggests:
rmarkdown,
Rcpp,
rgl,
spelling,
testthat (>= 3.0),
Ternary (>= 1.1.2),
TreeDistData (> 0.1.0),
Expand Down
4 changes: 4 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ etc
frac
github
gotchas
hypervolume
hypervolumes
ingroup
interdecile
jonker
Expand All @@ -116,6 +118,8 @@ sensu
shinyjs
splitwise
spic
syab
sysbio
textrm
th
tqDist
Expand Down
4 changes: 4 additions & 0 deletions tests/spelling.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
if(requireNamespace('spelling', quietly = TRUE)) {
spelling::spell_check_test(vignettes = TRUE, error = TRUE,
skip_on_cran = TRUE)
}

0 comments on commit f3146e3

Please sign in to comment.