Skip to content

Commit a179ca9

Browse files
author
ripley
committed
add warning on the use of identical()
git-svn-id: https://svn.r-project.org/R/trunk@87296 00db46b3-68df-0310-9c12-caf00c1e9a41
1 parent a4037f7 commit a179ca9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/library/base/man/Dates.Rd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@
6666
For the many methods see \code{methods(class = "Date")}. Several are
6767
documented separately, see below.
6868
}
69+
\section{Warning}{
70+
Do not use \code{\link{identical}()} on objects of class \code{"Date"}.
71+
Their \code{\link{storage.mode}} may be \code{"dpuble"} or
72+
\code{"integer"}, and which is chosen has depended on the version of
73+
\R used to create the object.
74+
}
6975
\seealso{
7076
\code{\link{Sys.Date}} for the current date.
7177

0 commit comments

Comments
 (0)