Skip to content

Commit d0569b0

Browse files
author
ripley
committed
stress some arguments need value TRUE or FALSE only
git-svn-id: https://svn.r-project.org/R/trunk@87797 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent 3956b48 commit d0569b0

File tree

5 files changed

+16
-14
lines changed

5 files changed

+16
-14
lines changed

src/library/base/man/Extremes.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/Extremes.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2016 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{Extremes}
@@ -32,8 +32,8 @@ pmin.int(\dots, na.rm = FALSE)
3232
}
3333
\arguments{
3434
\item{\dots}{numeric or character arguments (see Note).}
35-
\item{na.rm}{a logical indicating whether missing values should be
36-
removed.}
35+
\item{na.rm}{a logical (\code{TRUE} or \code{FALSE}) indicating
36+
whether missing values should be removed.}
3737
}
3838
\details{
3939
\code{max} and \code{min} return the maximum or minimum of \emph{all}

src/library/base/man/prod.Rd

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/prod.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2007 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{prod}
@@ -15,7 +15,8 @@ prod(\dots, na.rm = FALSE)
1515
\alias{prod}
1616
\arguments{
1717
\item{\dots}{numeric or complex or logical vectors.}
18-
\item{na.rm}{logical. Should missing values be removed?}
18+
\item{na.rm}{logical (\code{TRUE} or \code{FALSE}). Should missing
19+
values be removed?}
1920
}
2021
\details{
2122
If \code{na.rm} is \code{FALSE} an \code{NA}

src/library/base/man/sum.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/sum.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{sum}
@@ -15,8 +15,8 @@ sum(\dots, na.rm = FALSE)
1515
}
1616
\arguments{
1717
\item{\dots}{numeric or complex or logical vectors.}
18-
\item{na.rm}{logical. Should missing values (including \code{NaN}) be
19-
removed?}
18+
\item{na.rm}{logical (\code{TRUE} or \code{FALSE}). Should missing
19+
values (including \code{NaN}) be removed?}
2020
}
2121
\value{
2222
The sum. If all of the \code{\dots} arguments are of type

src/library/base/man/tempfile.Rd

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/tempfile.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2023 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{tempfile}
@@ -20,8 +20,9 @@ tempdir(check = FALSE)
2020
of the name.}
2121
\item{tmpdir}{a non-empty character vector giving the directory name.}
2222
\item{fileext}{a non-empty character vector giving the file extension.}
23-
\item{check}{\code{\link{logical}} indicating if \code{tempdir()}
24-
should be checked and recreated if no longer valid.}
23+
\item{check}{\code{\link{logical}} (\code{TRUE} or \code{FALSE})
24+
indicating if \code{tempdir()} should be checked and recreated if no
25+
longer valid.}
2526
}
2627
\value{
2728
For \code{tempfile} a character vector giving the names of possible

src/library/base/man/unlist.Rd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% File src/library/base/man/unlist.Rd
22
% Part of the R package, https://www.R-project.org
3-
% Copyright 1995-2018 R Core Team
3+
% Copyright 1995-2025 R Core Team
44
% Distributed under GPL 2 or later
55

66
\name{unlist}
@@ -16,8 +16,8 @@ unlist(x, recursive = TRUE, use.names = TRUE)
1616
}
1717
\arguments{
1818
\item{x}{an \R object, typically a list or vector.}
19-
\item{recursive}{logical. Should unlisting be applied to list
20-
components of \code{x}?}
19+
\item{recursive}{logical (\code{TRUE} or \code{FALSE}). Should
20+
unlisting be applied to list components of \code{x}?}
2121
\item{use.names}{logical. Should names be preserved?}
2222
}
2323
\details{

0 commit comments

Comments
 (0)