Skip to content

Commit af13ccd

Browse files
committed
Add spelling checks
1 parent 00b939b commit af13ccd

5 files changed

Lines changed: 20 additions & 2 deletions

File tree

DESCRIPTION

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ Imports:
2121
Suggests:
2222
covr,
2323
dplyr,
24+
spelling,
2425
testthat (>= 3.0.0)
2526
Roxygen: list(markdown = TRUE)
2627
RoxygenNote: 7.3.1

R/usmapdata-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#' @description
44
#' It is usually difficult or inconvenient to create US maps that
55
#' include both Alaska and Hawaii in a convenient spot. All map
6-
#' data frames produced by this package use the Albers Equal Area
6+
#' data frames produced by this package use the US National Atlas Equal Area
77
#' projection.
88
#'
99
#' @section Map data frames:

inst/WORDLIST

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
CRS
2+
GeoPackage
3+
Gert
4+
Rudis
5+
affine
6+
choropleths
7+
codecov
8+
csv
9+
pre
10+
usmap
11+

man/usmapdata.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: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
if(requireNamespace('spelling', quietly = TRUE))
2+
spelling::spell_check_test(
3+
vignettes = TRUE,
4+
error = FALSE,
5+
skip_on_cran = TRUE
6+
)

0 commit comments

Comments
 (0)