File tree Expand file tree Collapse file tree 2 files changed +57
-52
lines changed Expand file tree Collapse file tree 2 files changed +57
-52
lines changed Original file line number Diff line number Diff line change 1- ae
21Affero
2+ Averick
3+ CLI
4+ CMD
5+ Ctrl
6+ EOF
7+ Ei
8+ Eic
9+ Gitlab
10+ Homebrew
11+ IssueHunt
12+ KernSmooth
13+ Ko
14+ LF
15+ Liberapay
16+ Lifecycle
17+ MERCHANTABILITY
18+ Otechie
19+ Patreon
20+ RData
21+ RSMP
22+ RStudio
23+ Rbuildignore
24+ Rdata
25+ Rds
26+ Renviron
27+ Resubmission
28+ Rhistory
29+ Rnw
30+ RoxygenNote
31+ Rprofile
32+ Rproj
33+ Rr
34+ Rscript
35+ SHA
36+ Sublicensing
37+ Sys
38+ SystemRequirements
39+ Tidelift
40+ UCRT
41+ Uninstallation
42+ Unstaged
43+ Upvote
44+ VignetteBuilder
45+ WIPO
46+ Walthert
47+ Za
48+ ae
349api
450appveyor
551arg
652args
753artific
854autoupdate
9- Averick
1055bd
1156beaefa
1257behaviour
1358bliblablupp
1459cfe
1560ci
1661cli
17- CLI
1862cmd
19- CMD
2063codemeta
2164codemetar
2265codetools
66+ comit
2367commandArgs
2468comparator
2569conda
@@ -29,25 +73,21 @@ copyrightable
2973cp
3074cran
3175csv
32- Ctrl
3376dcf
3477deps
3578desc
3679dev
3780dir
3881dirname
82+ docType
3983docopt
4084docsearch
41- docType
4285dontrun
4386donttest
44- Ei
45- Eic
4687elif
4788emph
4889entrypoint
4990env
50- EOF
5191eval
5292exlucded
5393fi
@@ -60,11 +100,9 @@ getwd
60100gh
61101github
62102gitignore
63- Gitlab
64103grDevices
65104grepl
66105gsub
67- Homebrew
68106href
69107http
70108https
@@ -74,23 +112,17 @@ impl
74112init
75113io
76114isAvailable
77- issuehunt
78- IssueHunt
79115isTRUE
116+ issuehunt
80117jpeg
81118json
82- KernSmooth
83119knitr
84120ko
85- Ko
86121lang
87122lapply
88- LF
89123lgpl
90124liberapay
91- Liberapay
92125licensors
93- Lifecycle
94126lintr
95127loadCache
96128lorenz
@@ -100,7 +132,6 @@ macOS
100132magrittr
101133maxkb
102134md
103- MERCHANTABILITY
104135mgcv
105136miniconda
106137mis
@@ -119,13 +150,11 @@ num
119150oneliner
120151os
121152otechie
122- Otechie
123153overscope
124154packageVersion
125155params
126156parsable
127157patreon
128- Patreon
129158pkgapi
130159pkgdown
131160pkgload
@@ -137,91 +166,63 @@ precommithooks
137166proj
138167purrr
139168py
140- Rbuildignore
169+ rR
141170rc
142- Rdata
143- RData
144171rds
145- Rds
146172readLines
147173readme
148174recognised
149175relicensing
150176renv
151- Renviron
152177repo
153178repos
154- Resubmission
155179reticulate
156- Rhistory
157180rlang
158181rmarkdown
159182rmd
160183rnw
161- Rnw
162184roclet
163185roclets
164186ropenscilabs
165187roxygen
166188roxygenise
167189roxygenize
168- RoxygenNote
169190rpart
170- Rprofile
171- Rproj
172191rprojroot
173- rR
174- Rr
175- Rscript
176- RSMP
177192rstudio
178- RStudio
179193rstudioapi
180194saveCache
181195seealso
182196sep
183197setdiff
184- SHA
185198stderr
186199stdout
187200sterr
188201stopifnot
189202styler
190203sublicenses
191- Sublicensing
192- Sys
193- SystemRequirements
194204tcltk
195205tempfile
196206testthat
197207tibble
198208tidelift
199- Tidelift
200209tidyverse
201210toolchain
202211trailingOnly
203212travis
204213tryCatch
205214ubuntu
206- UCRT
207215uninitialised
208- Uninstallation
209216unlist
210217unname
211- Unstaged
212- Upvote
213218usethis
214219usr
215- VignetteBuilder
216220walthert
217- Walthert
218221wd
219- WIPO
220222withr
221223wordlist
222224writeLines
223225www
224226yaml
225227yihui
226228yml
227- Za
Original file line number Diff line number Diff line change @@ -34,8 +34,12 @@ spelling_errors <- spelling::spell_check_files(
3434if (nrow(spelling_errors ) > 0 ) {
3535 cat(" The following spelling errors were found:\n " )
3636 print(spelling_errors )
37- ignore <- sort(unique(c(ignore , spelling_errors $ word )))
38- ignore <- ignore [ignore != " " ] # drop blanks if any
37+ ignore_df <- data.frame (
38+ original = unique(c(ignore , spelling_errors $ word ))
39+ )
40+ ignore_df $ lower <- tolower(ignore_df $ original )
41+ ignore_df <- ignore_df [order(ignore_df $ lower ), ]
42+ ignore <- ignore_df $ original [ignore_df $ lower != " " ] # drop blanks if any
3943 writeLines(ignore , path_wordlist )
4044 cat(
4145 " All spelling errors found were copied to inst/WORDLIST assuming they were" ,
You can’t perform that action at this time.
0 commit comments