From gmbecker at ucdavis.edu  Thu Aug 21 02:21:34 2014
From: gmbecker at ucdavis.edu (Gabriel Becker)
Date: Wed, 20 Aug 2014 17:21:34 -0700
Subject: [Rd] as.Date.character suggestion
In-Reply-To: <CA+hbrhUr9jV8Jxb5Bjo4SXC-eriY7or39JmOc5XY-X=Ph5C38A@mail.gmail.com>
References: <CA+hbrhUZnZMMPL9gfK3rYzR7z9K8tEwsyFC2VOa_y0Lu254bZQ@mail.gmail.com>
	<53F5029C.3080909@gmail.com>
	<CA+hbrhUaZgCBjfwhT7Nnu9g3Xjsub_EdHSvmz5KksSFwgNS_4A@mail.gmail.com>
	<CADwqtCMLWqOJ5KF4HWdF63iOpMwafDjA1bxTaPpJHe6+2Q2jvA@mail.gmail.com>
	<CA+hbrhUr9jV8Jxb5Bjo4SXC-eriY7or39JmOc5XY-X=Ph5C38A@mail.gmail.com>
Message-ID: <CADwqtCNQ8JnB=5-FKcSWc6XYujWbvSALLjUnOc7su4RqR6RHWw@mail.gmail.com>

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]]



[Rd] as.Date.character suggestion
Gabriel Becker