Skip to content

Commit b5bdc64

Browse files
committed
Switch to GB English
1 parent b6c68c7 commit b5bdc64

File tree

5 files changed

+11
-10
lines changed

5 files changed

+11
-10
lines changed

DESCRIPTION

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ Version: 1.0
44
Authors@R: c(
55
person("Jeroen", "Ooms", , "[email protected]", role = c("cre", "aut")),
66
person("Jim", "Hester", , "[email protected]", role = "aut"))
7-
Description: Spell checking common document formats including latex, markdown, manual
8-
pages, and description files. Includes utilities to automate checking of documentation
9-
and vignettes as a unit test during 'R CMD check'. Packages may define a 'wordlist' to
10-
allow custom terminology without having to abuse punctuation.
7+
Description: Spell checking common document formats including latex, markdown, manual pages,
8+
and description files. Includes utilities to automate checking of documentation and
9+
vignettes as a unit test during 'R CMD check'. Both British and American English are
10+
supported out of the box and other languages can be added. In addition, packages may
11+
define a 'wordlist' to allow custom terminology without having to abuse punctuation.
1112
License: MIT + file LICENSE
1213
Encoding: UTF-8
1314
LazyData: true
@@ -18,3 +19,5 @@ Imports:
1819
knitr
1920
Roxygen: list(markdown = TRUE)
2021
RoxygenNote: 6.0.1
22+
Suggests:
23+
spelling

R/spell-check.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ print.summary_spellcheck <- function(x, ...){
115115
#' @aliases spell_check_test
116116
#' @rdname spell_check_package
117117
#' @param error make `R CMD check` fail when spelling errors are found.
118-
#' Default behavior only prints spelling errors to the console at the end of `CMD check`.
118+
#' Default behaviour only prints spelling errors to the console at the end of `CMD check`.
119119
spell_check_setup <- function(pkg = ".", vignettes = TRUE, lang = "en_GB", error = FALSE){
120120
# Get package info
121121
pkg <- as_package(pkg)

inst/WORDLIST

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
CMD
22
hunspell
3-
Parsers
3+
pkg
44
rmd
55
rnw
6-
wordlist
7-
WORDLIST

man/spell_check_package.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/spelling.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
spelling::spell_check_test(vignettes = TRUE, lang = "en_US", error = FALSE)
1+
spelling::spell_check_test(vignettes = TRUE, lang = "en_GB", error = FALSE)

0 commit comments

Comments
 (0)