Skip to content

Commit

Permalink
add warning on the use of identical()
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@87296 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
ripley committed Nov 7, 2024
1 parent a4037f7 commit a179ca9
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/library/base/man/Dates.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@
For the many methods see \code{methods(class = "Date")}. Several are
documented separately, see below.
}
\section{Warning}{
Do not use \code{\link{identical}()} on objects of class \code{"Date"}.
Their \code{\link{storage.mode}} may be \code{"dpuble"} or
\code{"integer"}, and which is chosen has depended on the version of
\R used to create the object.
}
\seealso{
\code{\link{Sys.Date}} for the current date.

Expand Down

0 comments on commit a179ca9

Please sign in to comment.