From 01c98e0c2c35a00ca36bb94c397a048137ae13c2 Mon Sep 17 00:00:00 2001 From: smeyer Date: Thu, 5 Dec 2024 08:30:04 +0000 Subject: [PATCH] spelling git-svn-id: https://svn.r-project.org/R/trunk@87422 00db46b3-68df-0310-9c12-caf00c1e9a41 --- doc/manual/R-exts.texi | 6 +++--- src/library/base/man/strptime.Rd | 2 +- src/library/base/man/tempfile.Rd | 2 +- src/library/graphics/man/plot.factor.Rd | 5 +++-- src/library/stats/man/predict.Rd | 4 ++-- src/library/stats/man/predict.glm.Rd | 6 +++--- src/library/utils/man/apropos.Rd | 10 +++++----- src/library/utils/man/help.search.Rd | 2 +- 8 files changed, 19 insertions(+), 18 deletions(-) diff --git a/doc/manual/R-exts.texi b/doc/manual/R-exts.texi index 91bc6d0301d..155ebec546f 100644 --- a/doc/manual/R-exts.texi +++ b/doc/manual/R-exts.texi @@ -593,7 +593,7 @@ templated) C++ projects. The @samp{StagedInstall} logical field controls if package installation is `staged', that is done to a temporary location and moved to the final location when successfully completed. This field was introduced in @R{} -3.6.0 and it true by default: it is considered to be a temporary measure +3.6.0 and is true by default: it is considered to be a temporary measure which may be withdrawn in future. @c DESCRIPTION field ZipData @@ -5173,7 +5173,7 @@ in production code. The normal way to ensure that is to define the macro @code{NDEBUG}, and @command{R CMD INSTALL} does so as part of the compilation flags. Beware of including headers (including from other packages) which could undefine it, now or in future versions. If you -wish to use @code{assert} during development. you can include +wish to use @code{assert} during development, you can include @code{-UNDEBUG} in @code{PKG_CPPFLAGS} or @code{#undef} it in your headers or code files. Note that your own @file{src/Makefile} or makefiles in sub-directories may also need to define @code{NDEBUG}. @@ -11996,7 +11996,7 @@ as the library (and what that was is often undocumented). @c distributions. Even fewer external libraries use C++ internally but present a C -interface, such as @I{GEOS} used by @CRANpkg{sf} and other packages.. These +interface, such as @I{GEOS} used by @CRANpkg{sf} and other packages. These require the C++ runtime library to be linked into the package's shared object/DLL, and this is best done by including a dummy C++ file in the package sources. diff --git a/src/library/base/man/strptime.Rd b/src/library/base/man/strptime.Rd index dc9ffd1e0f7..abf615a8a3d 100644 --- a/src/library/base/man/strptime.Rd +++ b/src/library/base/man/strptime.Rd @@ -241,7 +241,7 @@ strptime(x, format, tz = "") not followed by a digit, it uses \code{digits} unless that is \code{NULL}, when \code{n = 0}). Note that the precedence is \code{format="...\%OSn"} \eqn{\ll}{>>} \code{digits = n} \eqn{\ll}{>>} - \code{getOption("digits.prec")}. Further, for \code{strptime} + \code{getOption("digits.secs")}. Further, for \code{strptime} \code{\%OS} will input seconds including fractional seconds. Note that \code{\%S} does not read fractional parts on output. diff --git a/src/library/base/man/tempfile.Rd b/src/library/base/man/tempfile.Rd index 29c5cac6e6b..cad0c2f0241 100644 --- a/src/library/base/man/tempfile.Rd +++ b/src/library/base/man/tempfile.Rd @@ -20,7 +20,7 @@ tempdir(check = FALSE) of the name.} \item{tmpdir}{a non-empty character vector giving the directory name.} \item{fileext}{a non-empty character vector giving the file extension.} - \item{check}{\code{\link{logical}} indicating if \code{tmpdir()} + \item{check}{\code{\link{logical}} indicating if \code{tempdir()} should be checked and recreated if no longer valid.} } \value{ diff --git a/src/library/graphics/man/plot.factor.Rd b/src/library/graphics/man/plot.factor.Rd index 892e48c5427..71dad83ebcd 100644 --- a/src/library/graphics/man/plot.factor.Rd +++ b/src/library/graphics/man/plot.factor.Rd @@ -23,9 +23,10 @@ } } \description{ - This functions implements a scatterplot method for + This method is used for \code{\link{factor}} arguments of the \emph{generic} - \code{\link{plot}} function. + \code{\link{plot}} function, + possibly called from the formula method (see the Examples). If \code{y} is missing \code{\link{barplot}} is produced. For numeric \code{y} a \code{\link{boxplot}} is used, and for a factor diff --git a/src/library/stats/man/predict.Rd b/src/library/stats/man/predict.Rd index b4fe34dfcb9..30fb161234c 100644 --- a/src/library/stats/man/predict.Rd +++ b/src/library/stats/man/predict.Rd @@ -4,11 +4,11 @@ % Distributed under GPL 2 or later \name{predict} +\alias{predict} \title{Model Predictions} \usage{ -predict (object, \dots) +predict(object, ...) } -\alias{predict} \arguments{ \item{object}{a model object for which prediction is desired.} \item{\dots}{additional arguments affecting the predictions produced.} diff --git a/src/library/stats/man/predict.glm.Rd b/src/library/stats/man/predict.glm.Rd index 5c3ffe2d772..152132f2077 100644 --- a/src/library/stats/man/predict.glm.Rd +++ b/src/library/stats/man/predict.glm.Rd @@ -9,9 +9,9 @@ \title{Predict Method for GLM Fits} \usage{ \method{predict}{glm}(object, newdata = NULL, - type = c("link", "response", "terms"), - se.fit = FALSE, dispersion = NULL, terms = NULL, - na.action = na.pass, \dots) + type = c("link", "response", "terms"), + se.fit = FALSE, dispersion = NULL, terms = NULL, + na.action = na.pass, ...) } \arguments{ \item{object}{a fitted object of class inheriting from \code{"glm"}.} diff --git a/src/library/utils/man/apropos.Rd b/src/library/utils/man/apropos.Rd index dd9a85837c5..a0b3448cf73 100644 --- a/src/library/utils/man/apropos.Rd +++ b/src/library/utils/man/apropos.Rd @@ -14,16 +14,16 @@ find(what, mode = "any", numeric = FALSE, simple.words = TRUE) \alias{apropos} \alias{find} \arguments{ - \item{what}{character string. For \code{simple.words = FALSE} - the name of an object; otherwise + \item{what}{a character string. For \code{find} with + \code{simple.words = TRUE}, the name of an object; otherwise a \link{regular expression} to match object names against.} - \item{where, numeric}{a logical indicating whether positions in the - search list should also be returned} + \item{where, numeric}{logical indicating whether positions in the + search list should also be returned.} \item{ignore.case}{logical indicating if the search should be case-insensitive, \code{TRUE} by default.} \item{dot_internals}{logical indicating if the search result should show \pkg{base} internal objects, \code{FALSE} by default.} - \item{mode}{character; if not \code{"any"}, only objects whose + \item{mode}{a character string; if not \code{"any"}, only objects whose \code{\link{mode}} equals \code{mode} are searched.} \item{simple.words}{logical; if \code{TRUE}, the \code{what} argument is only searched as a whole word.} diff --git a/src/library/utils/man/help.search.Rd b/src/library/utils/man/help.search.Rd index b6b61c36946..78fbd6a4bb2 100644 --- a/src/library/utils/man/help.search.Rd +++ b/src/library/utils/man/help.search.Rd @@ -119,7 +119,7 @@ help.search(pattern, fields = c("alias", "concept", "title"), documentation directory are taken as concepts. For standard keyword entries different from \samp{internal}, the corresponding descriptions from file \file{KEYWORDS} are additionally taken as concepts. All - \samp{\concept} entries used as concepts. + \samp{\concept} entries are used as concepts. Vignettes are searched as follows. The \code{"name"} and \code{"alias"} are both the base of the vignette filename, and the