Package fCalendar_260.72.tar.gz did not pass R CMD check
Yohan Chalabi
chalabi at phys.ethz.ch
Tue Feb 5 18:08:44 CET 2008
>>>> "ULPO" == Uwe.Ligges at r-project.org
>>>> on Tue, 05 Feb 2008 17:10:21 +0100
ULPO> Dear package maintainer,
ULPO>
ULPO> this notification has been generated automatically.
ULPO> Your package fCalendar_260.72.tar.gz did not pass 'R CMD
ULPO> check' on
ULPO> Windows and will be omitted from the corresponding CRAN
directory ULPO> (CRAN/bin/windows/contrib/2.6/).
ULPO> Please check the attached log-file and consider to resubmit
ULPO> a version
ULPO> with increased version number that passes R CMD check on
Windows. ULPO> R version 2.6.2 RC (2008-02-04 r44320)
ULPO>
ULPO> All the best,
ULPO> Uwe Ligges
ULPO> (Maintainer of binary packages for Windows)
The problem is coming from the example in TimeDateSubsets.Rd . This
year Easter is at the end of March and in the example one tries to find
the window time period of Easter in April. to solve it, one can
increase the array of dates:
Instead of:
## Dates in April, currentYear:
tS = timeSequence(
from = paste(currentYear, "-04-01", sep = ""),
to = paste(currentYear, "-04-30", sep = ""))
one should do:
## Dates in March and April, currentYear:
tS = timeSequence(
from = paste(currentYear, "-03-01", sep = ""),
to = paste(currentYear, "-04-30", sep = ""))
When this is fixed, there is another error:
----------------------------------------------
ERROR
Running the tests in 'tests/doRUnit.R' failed.
Last 13 lines of output:
test.extractTimeDate: ... OK (0.04 seconds)
test.fromTimeDate: ... OK (0.08 seconds)
test.toTimeDate: ... OK (0.02 seconds)
---------------------------
Test file: /home/yankee/Desktop/fCalendar.Rcheck/fCalendar/unitTests/runitTimeDateSubsets.R
test.extractSubsets: FAILURE !! (check number 2)
Error in checkIdentical(format(target), current = format(timeDate("2007-01-01"))) :
FALSE
test.timeDateSubsets: ... OK (0.63 seconds)
Error in eval.with.vis(expr, envir, enclos) :
one of the unit tests failed
Calls: source -> eval.with.vis -> eval.with.vis
------------------------------------------------
this error has been fixed in the new version of fCalendar. One can
just copy the runitTimeDateSubsets.R file.
All these errors have been fixed in
https://svn.r-project.org/Rmetrics/trunk/fCalendar
Question : Should we submit the new version of fCalendar or fix the
error in fCalendar 260.72 and submit it as 260.73?
I would vote for the new version of fCalendar because we also fixed
problems in DST tables and in holidays functions.
regards,
Yohan
More information about the Rmetrics-core
mailing list