From min@h@ll @ending from @cm@org  Wed Jun 13 01:23:36 2018
From: min@h@ll @ending from @cm@org (Greg Minshall)
Date: Tue, 12 Jun 2018 16:23:36 -0700
Subject: [Rd] 
 Date class shows Inf as NA; this confuses the use of is.na()
In-Reply-To: Your message of "Tue, 12 Jun 2018 18:28:33 +0200."
 <23327.62641.524004.675246@stat.math.ethz.ch>
Message-ID: <21039.1528845816@minshall-apollo.minshall.org>

Martin, et al.,

> I think we should allow 'year' to be "double" instead, and so it
> could also be +Inf or -Inf and we'd nicely cover 
> the conversions from and to 'numeric' -- which is really used
> internally for dates and date-times in  POSIXct.

storing years as a double makes me worry slightly about
----
> year <- 1e50
> (year+1)-year
[1] 0
----
which is not how one thinks of years (or integers) as behaving.

cheers, Greg

ps -- sorry for the ">" overloading!



[Rd] Date class shows Inf as NA; this confuses the use of is.na()
Greg Minshall