Skip to content

Commit

Permalink
Fix spelling errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jimhester committed Oct 18, 2018
1 parent fcade5b commit 3dbcb87
Show file tree
Hide file tree
Showing 14 changed files with 74 additions and 21 deletions.
2 changes: 1 addition & 1 deletion R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#' \item The standard environment variables set by devtools:
#' [r_env_vars()]. Of particular note for package tests is the
#' `NOT_CRAN` env var which lets you know that your tests are not
#' running on cran, and hence can take a reasonable amount of time.
#' running on CRAN, and hence can take a reasonable amount of time.
#'
#' \item Debugging flags for the compiler, set by
#' \code{\link{compiler_flags}(FALSE)}.
Expand Down
4 changes: 2 additions & 2 deletions R/github.R
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,9 @@ github_tag <- function(username, repo, ref = "master") {
github_GET(file.path("repos", username, repo, "tags", ref))
}

#' Retrieve Github personal access token.
#' Retrieve GitHub personal access token.
#'
#' A github personal access token
#' A GitHub personal access token
#' Looks in env var `GITHUB_PAT`
#'
#' @keywords internal
Expand Down
2 changes: 1 addition & 1 deletion R/lint.R
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#' Lint all source files in a package.
#'
#' The default lintings correspond to the style guide at
#' The default linters correspond to the style guide at
#' <http://r-pkgs.had.co.nz/r.html#style>, however it is possible to
#' override any or all of them using the `linters` parameter.
#' @param pkg package description, can be path or package name. See
Expand Down
2 changes: 1 addition & 1 deletion R/release.R
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
#' The package release process will:
#'
#' \itemize{
#' \item Confirm that the package passes `R CMD check` on relevant platoforms
#' \item Confirm that the package passes `R CMD check` on relevant platforms
#' \item Confirm that important files are up-to-date
#' \item Build the package
#' \item Submit the package to CRAN, using comments in "cran-comments.md"
Expand Down
6 changes: 3 additions & 3 deletions R/revdep.R
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#' Reverse dependency tools.
#'
#' Tools to check and notify maintainers of all CRAN and bioconductor
#' Tools to check and notify maintainers of all CRAN and Bioconductor
#' packages that depend on the specified package.
#'
#' The first run in a session will be time-consuming because it must download
#' all package metadata from CRAN and bioconductor. Subsequent runs will
#' all package metadata from CRAN and Bioconductor. Subsequent runs will
#' be faster.
#'
#' @param pkg Package name. This is unlike most devtools packages which
Expand All @@ -18,7 +18,7 @@
#' @param dependencies A character vector listing the types of dependencies
#' to follow.
#' @param bioconductor If `TRUE` also look for dependencies amongst
#' bioconductor packages.
#' Bioconductor packages.
#' @param recursive If `TRUE` look for full set of recursive dependencies.
#' @inheritParams tools::dependsOnPkgs
#' @seealso [revdep_check()] to run R CMD check on all reverse
Expand Down
2 changes: 1 addition & 1 deletion R/save-all.R
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#'
#' Helper function wrapping IDE-specific calls to save all documents in the
#' active session. In this form, callers of `save_all()` don't need to
#' execute any IDE-specific code. This function can be extened to include
#' execute any IDE-specific code. This function can be extended to include
#' other IDE implementations of their equivalent
#' `rstudioapi::documentSaveAll()` methods.
#' @return NULL
Expand Down
53 changes: 53 additions & 0 deletions inst/WORDLIST
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
amongst
artefacts
behaviour
Bioconductor
cran
CMD
dev
dir
env
ERRORs
forkable
gists
gui
Hadley
http
https
installable
knitr
lexicographically
LinkingTo
linters
lintr
maintainer's
makefiles
md
NOTEs
objs
pkgbuild
rds
readme
README
realisation
revdep
revdepcheck
rhub
rmarkdown
Rmarkdown
Rmd
roclet
roxygen
RStudio
SHA
srcrefs
testthat
tex
un
VignetteEncoding
VignetteEngine
VignetteIndexEntry
WARNINGs
Wickham
xyz
YAML
2 changes: 1 addition & 1 deletion man/check.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/github_pat.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/lint.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/release.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions man/revdep.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/save_all.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions vignettes/dependencies.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ The `type` is an optional parameter. If the type is missing the default is
to install from GitHub. Additional remote dependencies should be separated by
commas, just like normal dependencies elsewhere in the `DESCRIPTION` file.

### Github
### GitHub

Because github is the most commonly used unofficial package distribution in R, it's the default:
Because GitHub is the most commonly used unofficial package distribution in R, it's the default:

```yaml
Remotes: hadley/testthat
Expand All @@ -48,7 +48,7 @@ Remotes: hadley/httr@v0.4,
hadley/testthat@c67018fa4970
```

A type of 'github' can be specified, but is not required
A type of `github` can be specified, but is not required

```yaml
Remotes: github::hadley/ggplot2
Expand Down

0 comments on commit 3dbcb87

Please sign in to comment.