From @pencer@gr@ve@ @end|ng |rom prod@y@e@com  Sun Dec  6 12:53:52 2020
From: @pencer@gr@ve@ @end|ng |rom prod@y@e@com (Spencer Graves)
Date: Sun, 6 Dec 2020 05:53:52 -0600
Subject: [Rd] as.POSIXct.numeric change default of origin argument
In-Reply-To: <CAOO9MKUcye7E00SBEGWMQpCR-Z9q6yAdM0nM=QqRqb8T8jfRbA@mail.gmail.com>
References: <CAOO9MKUcye7E00SBEGWMQpCR-Z9q6yAdM0nM=QqRqb8T8jfRbA@mail.gmail.com>
Message-ID: <bc16e8bd-e54f-ad35-8c28-272aa3c735a4@prodsyse.com>

	  The fda package already includes as.POSIXct1970, which also sets 
tz="GMT" by default.


	  I made the equivalent thing for as.Date available as 
"Ecfun::as.Date1970".


	  If the Core R team doesn't want to make the change for the existing 
functions, they might consider adding alternatives like this.  And, of 
course, Jan Gorecki and others can use these (if they aren't already 
using them or something equivalent).


	  sg


On 2020-12-06 05:04, Jan Gorecki wrote:
> Hello all,
> 
> I would like to propose to change the default value for "origin"
> argument in as.POSIXct.numeric method, from current missing to new
> "1970-01-01".
> My proposal is motivated by the fact that this is the most commonly
> needed value for "origin" argument and having that as a default seems
> reasonable.
> Proposed change seems to be pretty safe because it is now an error.
> 
> Best Regards,
> Jan Gorecki
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>



[Rd] as.POSIXct.numeric change default of origin argument
Spencer Graves