Skip to content

Commit

Permalink
Comment in documentation re options(warn=2) (PR#18634).
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@85702 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
kalibera committed Dec 18, 2023
1 parent 99ede39 commit 0a24af3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/library/base/man/options.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,9 @@ getOption(x, default = NULL)
created and can be printed through the function
\code{\link{warnings}}. If \code{warn} is one, warnings are
printed as they occur. If \code{warn} is two (or larger, coercible
to integer), all warnings are turned into errors.}
to integer), all warnings are turned into errors. While sometimes
useful for debugging, turning warnings into errors may trigger
bugs and resource leaks that would not have been triggered otherwise.}

\item{\code{warnPartialMatchArgs}:}{logical. If true, warns if
partial matching is used in argument matching.}
Expand Down

0 comments on commit 0a24af3

Please sign in to comment.