Skip to content

Commit

Permalink
Add spell checking and word list
Browse files Browse the repository at this point in the history
  • Loading branch information
wilkox committed Jul 18, 2019
1 parent e184e36 commit 5bc8880
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 2 deletions.
7 changes: 5 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,13 @@ Imports:
RoxygenNote: 6.1.1
URL: https://wilkox.org/ggfittext
BugReports: https://github.com/wilkox/ggfittext/issues
Suggests: knitr,
Suggests:
knitr,
rmarkdown,
testthat,
vdiffr
vdiffr,
spelling
VignetteBuilder: knitr
Roxygen: list(markdown = TRUE)
Encoding: UTF-8
Language: en-US
30 changes: 30 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
ascenders
bottomleft
bottomright
centre
CMD
colour
descenders
fontface
geoms
gganimate
ggplot
labelling
lifecycle
lineheight
metres
README
reflow
reflowed
reflowing
Reflowing
teleported
topleft
topright
un
vdiffr
vectorised
xmax
xmin
ymax
ymin
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 5bc8880

Please sign in to comment.