[Rd] chron package: delimiter for dates (PR#2458)

jerome@hivnet.ubc.ca jerome@hivnet.ubc.ca
Wed Jan 15 19:50:06 2003


Full_Name: Jerome Asselin
Version: 1.6.1
OS: redhat linux 7.2
Submission from: (NULL) (142.103.173.179)



The option <<format="day-month-year">> fails.

Package: chron
Version: 2.2-22

> library(chron)
> chron("01 May 2002",format="day month year")
[1] 01 May 2002
> chron("01-May-2002",format="day-month-year")
Error in "names<-.default"(*tmp*, value = fnames) :
        names attribute must be the same length as the vector
In addition: Warning message:
wrong number of fields in entry(ies) 1 in: unpaste(dates., sep = fmt$sep, fnames
= fmt$periods, nfields = 3)