Skip to content

Commit 7598fe4

Browse files
author
smeyer
committed
spelling/markup
git-svn-id: https://svn.r-project.org/R/trunk@87256 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 320c6de commit 7598fe4

File tree

11 files changed

+17
-15
lines changed

11 files changed

+17
-15
lines changed

doc/NEWS.3.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@
532532
533533
\item \code{sQuote()} and \code{dQuote()} get an explicit \code{q}
534534
argument with obvious default instead of using
535-
\code{getOption("fancyQuotes")} implicitly and unconditionally.
535+
\code{getOption("useFancyQuotes")} implicitly and unconditionally.
536536
537537
\item \code{unzip()} can list archives with comments and with
538538
spaces in file names even using an external \command{unzip} command.

src/library/base/man/Startup.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@
206206
%% R_PROFILE is used in src/main/startup.c
207207
\seealso{
208208
For the definition of the \sQuote{home} directory on Windows see the
209-
\file{rw-FAQ} Q2.14. It can be found from a running \R by
209+
\file{rw-FAQ} 2.13. It can be found from a running \R by
210210
\code{Sys.getenv("R_USER")}.
211211

212212
\code{\link{.Last}} for final actions at the close of an \R session.

src/library/base/man/array.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ is.array(x)
5757

5858
\code{is.array} is a \link{primitive} function.
5959

60-
For a list array, the \code{print} methods prints entries of length
60+
For a list array, the \code{print} method prints entries of length
6161
not one in the form \samp{integer,7} indicating the type and length.
6262
}
6363
\value{

src/library/base/man/path.expand.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ path.expand(path)
3131
}
3232
\item{On Windows:}{
3333
The definition of the \sQuote{home} directory is in the \file{rw-FAQ}
34-
Q~2.13: it is taken from the \env{R_USER} environment variable (or
34+
2.13: it is taken from the \env{R_USER} environment variable (or
3535
possibly \env{HOME} if \env{R_USER} is not set)
3636
when \code{path.expand} is first called in a session.
3737

src/library/grDevices/man/dev.Rd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ graphics.off()
8181

8282
\code{dev.list} returns the numbers of all open devices, except device
8383
1, the null device. This is a numeric vector with a
84-
\code{\link{names}} attribute giving the device names, or \code{NULL} is
84+
\code{\link{names}} attribute giving the device names, or \code{NULL} if
8585
there is no open device.
8686

8787
\code{dev.next} and \code{dev.prev} return the number and name of the

src/library/tools/R/md5.R

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# File src/library/tools/R/md5.R
22
# Part of the R package, https://www.R-project.org
33
#
4-
# Copyright (C) 1995-2022 The R Core Team
4+
# Copyright (C) 1995-2024 The R Core Team
55
#
66
# This program is free software; you can redistribute it and/or modify
77
# it under the terms of the GNU General Public License as published by
@@ -18,9 +18,9 @@
1818

1919
md5sum <- function(files, bytes) {
2020
if (!missing(files) && !missing(bytes))
21-
stop("files and bytes are mutually exclusive")
21+
stop("'files' and 'bytes' are mutually exclusive")
2222
if (!missing(bytes)) {
23-
if (!is.raw(bytes)) stop("bytes must be a raw vector")
23+
if (!is.raw(bytes)) stop("'bytes' must be a raw vector")
2424
.Call(C_Rmd5, bytes)
2525
} else {
2626
files <- path.expand(files)

src/library/tools/R/sha256.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818

1919
sha256sum <- function(files, bytes) {
2020
if (!missing(files) && !missing(bytes))
21-
stop("files and bytes are mutually exclusive")
21+
stop("'files' and 'bytes' are mutually exclusive")
2222
if (!missing(bytes)) {
23-
if (!is.raw(bytes)) stop("bytes must be a raw vector")
23+
if (!is.raw(bytes)) stop("'bytes' must be a raw vector")
2424
.Call(C_Rsha256, bytes)
2525
} else {
2626
files <- path.expand(files)

src/library/tools/man/md5sum.Rd

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@ md5sum(files, bytes)
3232
correctly and not subsequently accidentally modified.
3333
}
3434
\value{
35-
A character vector of the same length as \code{files}, with names
35+
If used with \code{files},
36+
a character vector of the same length as \code{files}, with names
3637
equal to \code{files} (possibly expanded). The elements will be
3738
\code{NA} for non-existent or unreadable files, otherwise a
3839
32-character string of hexadecimal digits.

src/library/tools/man/sha256sum.Rd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,8 @@ sha256sum(files, bytes)
2727
mode (almost always text mode where there is more than one).
2828
}
2929
\value{
30-
A character vector of the same length as \code{files}, with names
30+
If used with \code{files},
31+
a character vector of the same length as \code{files}, with names
3132
equal to \code{files} (possibly expanded). The elements will be
3233
\code{NA} for non-existent or unreadable files, otherwise a
3334
64-character string of hexadecimal digits.
@@ -36,7 +37,7 @@ sha256sum(files, bytes)
3637
}
3738
\source{
3839
The underlying C code was written by \I{Ulrich Drepper}, extracted from
39-
the public domain version SHA-crypt.txt version 0.6 (2016-8-31).
40+
the public domain version \file{SHA-crypt.txt} version 0.6 (2016-8-31).
4041
}
4142
\seealso{
4243
\code{\link{md5sum}}

tests/datetime.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ as.POSIXct("2040-01-01 12:00")
2121
as.POSIXct("2040-07-01 12:00")
2222

2323
Sys.setenv(TZ = "EST5EDT") # also pretty much portable.
24-
## However, tzdata 2024b changed this from EST to LMY (and by 238s)
24+
## However, tzdata 2024b changed this from EST to LMT (and by 238s)
2525
(z <- as.POSIXct("1848-01-01 12:00"))
2626
c(unclass(z))
2727
## see comment above

0 commit comments

Comments
 (0)