From 1911a77809c18921d1b5b9c8bd5b390096dc834d Mon Sep 17 00:00:00 2001 From: Jim Hester Date: Thu, 4 May 2017 14:46:20 -0400 Subject: [PATCH] Fix spelling errors --- R/R.r | 2 +- R/check.r | 2 +- R/dev-help.r | 2 +- R/namespace-env.r | 2 +- R/revdep.R | 2 +- man/RCMD.Rd | 2 +- man/check.Rd | 2 +- man/help.Rd | 2 +- man/ns_env.Rd | 2 +- man/revdep_check.Rd | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/R/R.r b/R/R.r index f6e578823..d2f1702f8 100644 --- a/R/R.r +++ b/R/R.r @@ -28,7 +28,7 @@ R <- function(args, path = tempdir(), env_vars = character(), fun = system_check #' Run R CMD xxx from within R #' #' @param cmd one of the R tools available from the R CMD interface. -#' @param options a charater vector of options to pass to the command +#' @param options a character vector of options to pass to the command #' @param path the directory to run the command in. #' @param env_vars environment variables to set before running the command. #' @param ... additional arguments passed to \code{\link{system_check}} diff --git a/R/check.r b/R/check.r index 0fe4924ee..c81769cae 100644 --- a/R/check.r +++ b/R/check.r @@ -102,7 +102,7 @@ check <- function(pkg = ".", #' @param cran if \code{TRUE} (the default), check using the same settings as #' CRAN uses. #' @param check_version Sets \code{_R_CHECK_CRAN_INCOMING_} env var. -#' If \code{TRUE}, performns a number of checked related +#' If \code{TRUE}, performs a number of checked related #' to version numbers of packages on CRAN. #' @param force_suggests Sets \code{_R_CHECK_FORCE_SUGGESTS_}. If #' \code{FALSE} (the default), check will proceed even if all suggested diff --git a/R/dev-help.r b/R/dev-help.r index c3a0f77a6..c685a7164 100644 --- a/R/dev-help.r +++ b/R/dev-help.r @@ -78,7 +78,7 @@ view_rd <- function(path, package, stage = "render", type = getOption("help_type #' @inheritParams utils::help utils::`?` #' @param topic A name or character string specifying the help topic. #' @param package A name or character string specifying the package in which -#' to search for the help topic. If NULL, seach all packages. +#' to search for the help topic. If NULL, search all packages. #' @param e1 First argument to pass along to \code{utils::`?`}. #' @param e2 Second argument to pass along to \code{utils::`?`}. #' @param ... Additional arguments to pass to \code{\link[utils]{help}}. diff --git a/R/namespace-env.r b/R/namespace-env.r index 4e7a81ee3..c08fb27f5 100644 --- a/R/namespace-env.r +++ b/R/namespace-env.r @@ -1,7 +1,7 @@ #' Return the namespace environment for a package. #' #' Contains all (exported and non-exported) objects, and is a descendent of -#' \code{R_GlobalEnv}. The hieararchy is \code{}, +#' \code{R_GlobalEnv}. The hierarchy is \code{}, #' \code{}, \code{}, and then #' \code{R_GlobalEnv}. #' diff --git a/R/revdep.R b/R/revdep.R index 18d6d121e..c77c83522 100755 --- a/R/revdep.R +++ b/R/revdep.R @@ -67,7 +67,7 @@ print.maintainers <- function(x, ...) { #' dependencies. Summarises the results with \code{revdep_check_summary()} and #' see problems with \code{revdep_check_print_problems()}. #' -#' Revdep checks are resumably - this is very helpful if somethings goes +#' Revdep checks are resumable - this is very helpful if somethings goes #' wrong (like you run out of power or you lose your internet connection) in #' the middle of a check. You can resume a partially completed check with #' \code{revdep_check_resume()}, or blow away the cached result so you can diff --git a/man/RCMD.Rd b/man/RCMD.Rd index bc84c6b1b..24aa34d6d 100644 --- a/man/RCMD.Rd +++ b/man/RCMD.Rd @@ -9,7 +9,7 @@ RCMD(cmd, options, path = tempdir(), env_vars = character(), ...) \arguments{ \item{cmd}{one of the R tools available from the R CMD interface.} -\item{options}{a charater vector of options to pass to the command} +\item{options}{a character vector of options to pass to the command} \item{path}{the directory to run the command in.} diff --git a/man/check.Rd b/man/check.Rd index 966a98dd8..f66f88aa6 100644 --- a/man/check.Rd +++ b/man/check.Rd @@ -32,7 +32,7 @@ documentation before running formal check.} CRAN uses.} \item{check_version}{Sets \code{_R_CHECK_CRAN_INCOMING_} env var. -If \code{TRUE}, performns a number of checked related +If \code{TRUE}, performs a number of checked related to version numbers of packages on CRAN.} \item{force_suggests}{Sets \code{_R_CHECK_FORCE_SUGGESTS_}. If diff --git a/man/help.Rd b/man/help.Rd index 4cca2e92c..255161954 100644 --- a/man/help.Rd +++ b/man/help.Rd @@ -16,7 +16,7 @@ \item{topic}{A name or character string specifying the help topic.} \item{package}{A name or character string specifying the package in which -to search for the help topic. If NULL, seach all packages.} +to search for the help topic. If NULL, search all packages.} \item{...}{Additional arguments to pass to \code{\link[utils]{help}}.} diff --git a/man/ns_env.Rd b/man/ns_env.Rd index 703f49a57..9fd27f38f 100644 --- a/man/ns_env.Rd +++ b/man/ns_env.Rd @@ -12,7 +12,7 @@ ns_env(pkg = ".") } \description{ Contains all (exported and non-exported) objects, and is a descendent of -\code{R_GlobalEnv}. The hieararchy is \code{}, +\code{R_GlobalEnv}. The hierarchy is \code{}, \code{}, \code{}, and then \code{R_GlobalEnv}. } diff --git a/man/revdep_check.Rd b/man/revdep_check.Rd index 01e18d6f3..33314698e 100644 --- a/man/revdep_check.Rd +++ b/man/revdep_check.Rd @@ -84,7 +84,7 @@ dependencies. Summarises the results with \code{revdep_check_summary()} and see problems with \code{revdep_check_print_problems()}. } \details{ -Revdep checks are resumably - this is very helpful if somethings goes +Revdep checks are resumable - this is very helpful if somethings goes wrong (like you run out of power or you lose your internet connection) in the middle of a check. You can resume a partially completed check with \code{revdep_check_resume()}, or blow away the cached result so you can