From 7f5a68338e650be3be53676cc292224d39c8df55 Mon Sep 17 00:00:00 2001 From: ChrisMuir Date: Thu, 11 Jan 2018 17:59:23 -0600 Subject: [PATCH] fix typo in docs --- R/package.r | 7 +++---- man/package_file.Rd | 7 +++---- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/R/package.r b/R/package.r index cab1e857d..87be32b3d 100644 --- a/R/package.r +++ b/R/package.r @@ -20,10 +20,9 @@ as.package <- function(x = NULL, create = NA) { #' Find file in a package. #' -#' It always starts by finding by walking up the path until it finds the -#' root directory, i.e. a directory containing \code{DESCRIPTION}. If it -#' cannot find the root directory, or it can't find the specified path, it -#' will throw an error. +#' It always starts by walking up the path until it finds the root directory, +#' i.e. a directory containing \code{DESCRIPTION}. If it cannot find the root +#' directory, or it can't find the specified path, it will throw an error. #' #' @param ... Components of the path. #' @param path Place to start search for package directory. diff --git a/man/package_file.Rd b/man/package_file.Rd index cb8838c16..5eb9465e4 100644 --- a/man/package_file.Rd +++ b/man/package_file.Rd @@ -12,10 +12,9 @@ package_file(..., path = ".") \item{path}{Place to start search for package directory.} } \description{ -It always starts by finding by walking up the path until it finds the -root directory, i.e. a directory containing \code{DESCRIPTION}. If it -cannot find the root directory, or it can't find the specified path, it -will throw an error. +It always starts by walking up the path until it finds the root directory, +i.e. a directory containing \code{DESCRIPTION}. If it cannot find the root +directory, or it can't find the specified path, it will throw an error. } \examples{ \dontrun{