From cc7f6c14fa84b2a49aeab3e004cd891d19558ef9 Mon Sep 17 00:00:00 2001 From: smeyer Date: Fri, 3 May 2024 21:25:54 +0000 Subject: [PATCH] spelling git-svn-id: https://svn.r-project.org/R/trunk@86517 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/library/base/man/find.package.Rd | 2 +- src/library/base/man/ns-load.Rd | 2 +- src/library/base/man/options.Rd | 4 ++-- src/library/base/man/zapsmall.Rd | 2 +- src/library/methods/man/new.Rd | 2 +- src/library/parallel/man/splitIndices.Rd | 2 +- src/library/parallel/man/unix/mclapply.Rd | 2 +- src/library/stats/man/heatmap.Rd | 2 +- src/library/stats/man/order.dendrogram.Rd | 2 +- src/library/tools/man/bibstyle.Rd | 2 +- src/library/tools/man/psnice.Rd | 2 +- src/library/utils/man/removeSource.Rd | 2 +- tests/Examples/tools-Ex.Rout.save | 2 +- 13 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/library/base/man/find.package.Rd b/src/library/base/man/find.package.Rd index f67596af423..885231c8a31 100644 --- a/src/library/base/man/find.package.Rd +++ b/src/library/base/man/find.package.Rd @@ -82,4 +82,4 @@ findPkgAll <- function(pkg) findPkgAll("MASS") findPkgAll("knitr") } -\keyword{files} +\keyword{file} diff --git a/src/library/base/man/ns-load.Rd b/src/library/base/man/ns-load.Rd index b3eb5790ee8..40e5bc7e550 100644 --- a/src/library/base/man/ns-load.Rd +++ b/src/library/base/man/ns-load.Rd @@ -137,7 +137,7 @@ isNamespaceLoaded(name) statL <- isNamespaceLoaded("stats")% checks work also when it is *not* loaded stopifnot( identical(statL, "stats" \%in\% lns) ) - ## The string "foo" and the symbol 'foo' can be used interchangably here: + ## The string "foo" and the symbol 'foo' can be used interchangeably here: stopifnot( identical(isNamespaceLoaded( "foo" ), FALSE), identical(isNamespaceLoaded(quote(foo)), FALSE), identical(isNamespaceLoaded(quote(stats)), statL)) diff --git a/src/library/base/man/options.Rd b/src/library/base/man/options.Rd index 998290892dc..ec7b657a270 100644 --- a/src/library/base/man/options.Rd +++ b/src/library/base/man/options.Rd @@ -879,8 +879,8 @@ options(error = quote({dump.frames(to.file = TRUE); q()})) } # Compare the two ways to get an option and use it - # acconting for the possibility it might not be set. -if(as.logical(getOption("performCleanp", TRUE))) + # accounting for the possibility it might not be set. +if(as.logical(getOption("performCleanup", TRUE))) cat("do cleanup\n") \dontrun{ diff --git a/src/library/base/man/zapsmall.Rd b/src/library/base/man/zapsmall.Rd index 3c6ef7f96eb..fe99aa951e5 100644 --- a/src/library/base/man/zapsmall.Rd +++ b/src/library/base/man/zapsmall.Rd @@ -38,7 +38,7 @@ zapsmall(x, digits = getOption("digits"), \examples{ x2 <- pi * 100^(-2:2)/10 print( x2, digits = 4) -zapsmall( x2) # automatical digits +zapsmall( x2) # automatic digits zapsmall( x2, digits = 4) zapsmall(c(x2, Inf)) # round()s to integer .. zapsmall(c(x2, Inf), min.d=-Inf) # everything is small wrt Inf diff --git a/src/library/methods/man/new.Rd b/src/library/methods/man/new.Rd index 939a462bb62..bd2ea9c0a17 100644 --- a/src/library/methods/man/new.Rd +++ b/src/library/methods/man/new.Rd @@ -39,7 +39,7 @@ named classes.} \section{Initialize Methods}{ The generic function \code{initialize} is not called directly. A call to \code{new} begins by copying the prototype object from - the class definition, and then calls \code{intialize()} with this + the class definition, and then calls \code{initialize()} with this object as the first argument, followed by the \dots{} arguments. The interpretation of the \code{\dots} arguments in a call to a diff --git a/src/library/parallel/man/splitIndices.Rd b/src/library/parallel/man/splitIndices.Rd index 97159667b4b..616b99bae4b 100644 --- a/src/library/parallel/man/splitIndices.Rd +++ b/src/library/parallel/man/splitIndices.Rd @@ -26,4 +26,4 @@ splitIndices(nx, ncl) \examples{ splitIndices(20, 3) } -\keyword{ utility } +\keyword{ utilities } diff --git a/src/library/parallel/man/unix/mclapply.Rd b/src/library/parallel/man/unix/mclapply.Rd index 92ace56f661..b5328130285 100644 --- a/src/library/parallel/man/unix/mclapply.Rd +++ b/src/library/parallel/man/unix/mclapply.Rd @@ -206,7 +206,7 @@ B <- runif(2500000,0,100) C <- runif(5000000,0,100) first <- function(i) head(sort(i), n = 1) -# Restict all elements of X to run on CPU 1 and 2 +# Restrict all elements of X to run on CPU 1 and 2 affL <- list(c(1,2), c(1,2), c(1,2)) mclapply(list(A, A, A), first, mc.preschedule = FALSE, affinity.list = affL) diff --git a/src/library/stats/man/heatmap.Rd b/src/library/stats/man/heatmap.Rd index c953c6e59f3..998ee863d97 100644 --- a/src/library/stats/man/heatmap.Rd +++ b/src/library/stats/man/heatmap.Rd @@ -110,7 +110,7 @@ heatmap(x, Rowv = NULL, Colv = if(symm)"Rowv" else NULL, \code{heatmap()} uses \code{\link{layout}} and draws the \code{\link{image}} in the lower right corner of a 2x2 layout. - Consequentially, it can \bold{not} be used in a multi column/row + Consequently, it can \bold{not} be used in a multi column/row layout, i.e., when \code{\link{par}(mfrow = *)} or \code{(mfcol = *)} has been called. } diff --git a/src/library/stats/man/order.dendrogram.Rd b/src/library/stats/man/order.dendrogram.Rd index 9a236ab9b4b..ceca2f25236 100644 --- a/src/library/stats/man/order.dendrogram.Rd +++ b/src/library/stats/man/order.dendrogram.Rd @@ -9,7 +9,7 @@ \alias{labels.dendrogram} \title{Ordering or Labels of the Leaves in a Dendrogram} \description{ - Theses functions return the order (index) or the \code{"label"} + These functions return the order (index) or the \code{"label"} attribute for the leaves in a dendrogram. These indices can then be used to access the appropriate components of any additional data. diff --git a/src/library/tools/man/bibstyle.Rd b/src/library/tools/man/bibstyle.Rd index d5fd1876f8f..7fc94088940 100644 --- a/src/library/tools/man/bibstyle.Rd +++ b/src/library/tools/man/bibstyle.Rd @@ -122,5 +122,5 @@ bibstyle("unsorted", sortKeys = function(refs) seq_along(refs), .init = TRUE) print(refs, .bibstyle = "unsorted") } -\keyword{ utilties } +\keyword{ utilities } \keyword{ documentation } diff --git a/src/library/tools/man/psnice.Rd b/src/library/tools/man/psnice.Rd index 0c678955a05..b6e93cc21a4 100644 --- a/src/library/tools/man/psnice.Rd +++ b/src/library/tools/man/psnice.Rd @@ -54,4 +54,4 @@ psnice(pid = Sys.getpid(), value = NA_integer_) \code{\link{pskill}}. } -\keyword{ utility } +\keyword{ utilities } diff --git a/src/library/utils/man/removeSource.Rd b/src/library/utils/man/removeSource.Rd index 1f7051dc090..4205fbdb34f 100644 --- a/src/library/utils/man/removeSource.Rd +++ b/src/library/utils/man/removeSource.Rd @@ -59,4 +59,4 @@ stopifnot(length(attributes(E )) > 0, is.null(attributes(E.))) options(op) # reset to previous state } -\keyword{utility} +\keyword{utilities} diff --git a/tests/Examples/tools-Ex.Rout.save b/tests/Examples/tools-Ex.Rout.save index fb746590039..ae441b81be5 100644 --- a/tests/Examples/tools-Ex.Rout.save +++ b/tests/Examples/tools-Ex.Rout.save @@ -185,7 +185,7 @@ Error in assertWarning(ff()) : > ### Name: bibstyle > ### Title: Select or Define a Bibliography Style > ### Aliases: bibstyle getBibstyle -> ### Keywords: utilties documentation +> ### Keywords: utilities documentation > > ### ** Examples >