[Rd] as.Date.character suggestion

Gabriel Becker gmbecker at ucdavis.edu
Thu Aug 21 02:21:34 CEST 2014


Ah, my mistake, I read too fast. (My code is also wrong, embarassingly).

It seems like it's behavior when you pass it "" is simply a bug, then.

Sorry for the noise,

~G




On Wed, Aug 20, 2014 at 4:59 PM, Peter Langfelder <
peter.langfelder at gmail.com> wrote:

> On Wed, Aug 20, 2014 at 4:52 PM, Gabriel Becker <gmbecker at ucdavis.edu>
> wrote:
> > Could do both to preserve bc...
> >
> > if(missing(format) || !nchar(format))
> >
>
> No, the problem is that the function behaves differently when format
> is missing than when it equals its default. Removing this difference
> necessarily changes behaviour and hence (at least in principle) breaks
> backward compatibility.
>
> Peter
>



-- 
Gabriel Becker
Graduate Student
Statistics Department
University of California, Davis

	[[alternative HTML version deleted]]



More information about the R-devel mailing list