Skip to content

Commit 7ddeaee

Browse files
committed
Spelling upkeep
Closes #1848
1 parent 816df08 commit 7ddeaee

File tree

7 files changed

+20
-13
lines changed

7 files changed

+20
-13
lines changed

.github/CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ If you’ve found a bug, please file an issue that illustrates the bug with a mi
2020

2121
* Fork the package and clone onto your computer. If you haven't done this before, we recommend using `usethis::create_from_github("r-lib/usethis", fork = TRUE)`.
2222

23-
* Install all development dependences with `devtools::install_dev_deps()`, and then make sure the package passes R CMD check by running `devtools::check()`.
23+
* Install all development dependencies with `devtools::install_dev_deps()`, and then make sure the package passes R CMD check by running `devtools::check()`.
2424
If R CMD check doesn't pass cleanly, it's a good idea to ask for help before continuing.
2525
* Create a Git branch for your pull request (PR). We recommend using `usethis::pr_init("brief-description-of-change")`.
2626

@@ -35,7 +35,7 @@ If you’ve found a bug, please file an issue that illustrates the bug with a mi
3535
* New code should follow the tidyverse [style guide](https://style.tidyverse.org).
3636
You can use the [styler](https://CRAN.R-project.org/package=styler) package to apply these styles, but please don't restyle code that has nothing to do with your PR.
3737

38-
* We use [roxygen2](https://cran.r-project.org/package=roxygen2), with [Markdown syntax](https://roxygen2.r-lib.org/articles/rd-formatting.html), for documentation.
38+
* We use [roxygen2](https://cran.r-project.org/package=roxygen2), with [Markdown syntax](https://cran.r-project.org/web/packages/roxygen2/vignettes/rd-formatting.html), for documentation.
3939

4040
* We use [testthat](https://cran.r-project.org/package=testthat) for unit tests.
4141
Contributions with test cases included are easier to accept.

R/roxygen.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ use_roxygen_md <- function(overwrite = FALSE) {
4747

4848
ui_stop("
4949
{ui_path('DESCRIPTION')} already has a {ui_field('Roxygen')} field
50-
Delete it and try agan or call {ui_code('use_roxygen_md(overwrite = TRUE)')}")
50+
Delete it and try again or call {ui_code('use_roxygen_md(overwrite = TRUE)')}")
5151

5252
invisible()
5353
}

R/usethis-package.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ NULL
1414
#'
1515
#' @description
1616
#' User-configurable options consulted by usethis, which provide a mechanism
17-
#' for setting default behaviours for various functions.
17+
#' for setting default behaviors for various functions.
1818
#'
1919
#' If the built-in defaults don't suit you, set one or more of these options.
2020
#' Typically, this is done in the `.Rprofile` startup file, which you can open

inst/WORDLIST

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
AGPL
22
Addin
33
AppVeyor
4+
Appveyor
5+
BioC
46
BioConductor
57
BugReports
68
CCBY
@@ -12,19 +14,21 @@ CircleCI
1214
CoC
1315
Codecov
1416
Colours
17+
Csárdi
1518
Depsy
1619
DockerHub
1720
DropBox
18-
GHA
1921
GHE
2022
Gert
2123
Gert's
2224
Git's
2325
GitLab
2426
Gitignores
27+
Gábor
2528
HTTPS
2629
Homebrew
2730
Initialise
31+
JSON
2832
Jenkinsfile
2933
Jupyter
3034
Keychain
@@ -33,14 +37,17 @@ LGL
3337
LastPass
3438
Lifecycle
3539
LinkingTo
40+
METACRAN
3641
Makefile
3742
ORCID
3843
PATs
44+
PBC
3945
PRs
4046
README
4147
REPO
4248
RMarkdown
4349
RProfile
50+
RStudio
4451
RStudio's
4552
Rcpp
4653
RcppArmadillo
@@ -70,6 +77,7 @@ aspirationally
7077
auth
7178
authenticator
7279
backports
80+
badged
7381
behaviour
7482
bzip
7583
ci
@@ -81,8 +89,8 @@ colour
8189
colours
8290
config
8391
convergently
92+
covr
8493
cpp
85-
cran
8694
customised
8795
dev
8896
devtools
@@ -104,10 +112,9 @@ gh's
104112
gitcreds
105113
github
106114
gitignore
115+
grey
107116
gzip
108-
hexb
109117
href
110-
http
111118
https
112119
httr
113120
ing
@@ -131,6 +138,7 @@ minimise
131138
msg
132139
nano
133140
noninteractive
141+
oldrel
134142
organisation
135143
organisations
136144
ort
@@ -143,7 +151,7 @@ purrr
143151
r's
144152
rOpenSci
145153
rappdirs
146-
rcmdcheck
154+
readme
147155
rebase
148156
reconfigures
149157
redirections
@@ -186,7 +194,6 @@ usethis's
186194
ver
187195
vm
188196
withr
189-
www
190197
xyz
191198
xz
192199
yaml

inst/templates/tutorial-template.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ add <- function() {
3838

3939
### Exercise with Hint
4040

41-
*Here's an exercise where the chunk is pre-evaulated via the `exercise.eval` option (so the user can see the default output we'd like them to customize). We also add a "hint" to the correct solution via the chunk immediate below labeled `print-limit-hint`.*
41+
*Here's an exercise where the chunk is pre-evaluated via the `exercise.eval` option (so the user can see the default output we'd like them to customize). We also add a "hint" to the correct solution via the chunk immediate below labeled `print-limit-hint`.*
4242

4343
Modify the following code to limit the number of rows printed to 5:
4444

man/usethis_options.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.

principles.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ The downside is that we aren't exactly sure yet what we're willing to guarantee
4646

4747
### Permission to overwrite
4848

49-
`write_over()` returns `FALSE` and does nothing if there is no need to overwrite (proposed file contents are same as existing) or if user says "no" and returns `TRUE` if it ovewrites.
49+
`write_over()` returns `FALSE` and does nothing if there is no need to overwrite (proposed file contents are same as existing) or if user says "no" and returns `TRUE` if it overwrites.
5050
So if downstream logic depends on whether something new was written, consult the return value.
5151
`write_over()` is rarely called directly, but is usually called via `use_template()`, in which case the same handling should apply to its return value.
5252

0 commit comments

Comments
 (0)