[Rd] as.Date without "origin"

2022-11-02 Thread Dan Dalthorp via R-devel
The new (2022-10-11 r83083 ucrt) as.Date function returns a date rather than an error when called without "origin" specified. # previous versions of R as.Date(0) # Error in as.Date.numeric(0) : 'origin' must be supplied # new: as.Date(0) # [1] "1970-01-01" This is at odds with the help file, wh

Re: [Rd] as.Date without "origin"

2022-11-02 Thread Dan Dalthorp via R-devel
modification to Ecfun: > > > Ecfun::as.Date1970(0) > > > If R-devel chose to change the default on this, I would happily > deprecate Ecfun::as.Date1970 in favor of base::as.Date ;-) > > > I would therefore support changing the documentation to match the new >

Re: [Rd] as.Date without "origin"

2022-11-02 Thread Dan Dalthorp via R-devel
> _ > platform x86_64-apple-darwin21.6.0 > arch x86_64 > os darwin21.6.0 > system x86_64, darwin21.6.0 > status Patched > major 4 > minor 2.2 > year 2022 > month 11 > day 02 > svn rev 83236 > language R > version.string R version 4.2.2 Patched (2022-11-02 r83236