Package fCalendar_260.72.tar.gz did not pass R CMD check
Uwe.Ligges at r-project.org
Uwe.Ligges at r-project.org
Tue Feb 5 17:10:21 CET 2008
Dear package maintainer,
this notification has been generated automatically.
Your package fCalendar_260.72.tar.gz did not pass 'R CMD check' on
Windows and will be omitted from the corresponding CRAN directory
(CRAN/bin/windows/contrib/2.6/).
Please check the attached log-file and consider to resubmit a version
with increased version number that passes R CMD check on Windows.
R version 2.6.2 RC (2008-02-04 r44320)
All the best,
Uwe Ligges
(Maintainer of binary packages for Windows)
-------------- next part --------------
* using log directory 'd:/Rcompile/CRANpkg/local/2.6/fCalendar.Rcheck'
* using R version 2.6.2 RC (2008-02-04 r44320)
* checking for file 'fCalendar/DESCRIPTION' ... OK
* this is package 'fCalendar' version '260.72'
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking whether package 'fCalendar' can be installed ... OK
* checking package directory ... OK
* checking for portable file names ... OK
* checking DESCRIPTION meta-information ... OK
* checking top-level files ... OK
* checking index information ... OK
* checking package subdirectories ... OK
* checking R files for non-ASCII characters ... OK
* checking R files for syntax errors ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking for unstated dependencies in R code ... OK
* checking S3 generic/method consistency ... OK
* checking replacement functions ... OK
* checking foreign function calls ... OK
* checking R code for possible problems ... OK
* checking Rd files ... OK
* checking Rd cross-references ... OK
* checking for missing documentation entries ... OK
* checking for code/documentation mismatches ... OK
* checking Rd \usage sections ... OK
* creating fCalendar-Ex.R ... OK
* checking examples ... ERROR
Running examples in 'fCalendar-Ex.R' failed.
The error most likely occurred in:
> ### * TimeDateSubsets
>
> flush(stderr()); flush(stdout())
>
> ### Name: TimeDateSubsets
> ### Title: timeDate Class, Subsetting
> ### Aliases: TimeDateSubsets isWeekday isWeekend isBizday isHoliday
> ### getDayOfWeek getDayOfYear length.timeDate [.timeDate window.timeDate
> ### cut.timeDate start.timeDate end.timeDate blockStart blockEnd
> ### Keywords: chron
>
> ### ** Examples
>
> ## Dates in April, currentYear:
> tS = timeSequence(
+ from = paste(currentYear, "-04-01", sep = ""),
+ to = paste(currentYear, "-04-30", sep = ""))
> tS
GMT
[1] [2008-04-01] [2008-04-02] [2008-04-03] [2008-04-04] [2008-04-05]
[6] [2008-04-06] [2008-04-07] [2008-04-08] [2008-04-09] [2008-04-10]
[11] [2008-04-11] [2008-04-12] [2008-04-13] [2008-04-14] [2008-04-15]
[16] [2008-04-16] [2008-04-17] [2008-04-18] [2008-04-19] [2008-04-20]
[21] [2008-04-21] [2008-04-22] [2008-04-23] [2008-04-24] [2008-04-25]
[26] [2008-04-26] [2008-04-27] [2008-04-28] [2008-04-29] [2008-04-30]
>
> ## Subset of Weekends:
> isWeekend(tS)
2008-04-01 2008-04-02 2008-04-03 2008-04-04 2008-04-05 2008-04-06 2008-04-07
FALSE FALSE FALSE FALSE TRUE TRUE FALSE
2008-04-08 2008-04-09 2008-04-10 2008-04-11 2008-04-12 2008-04-13 2008-04-14
FALSE FALSE FALSE FALSE TRUE TRUE FALSE
2008-04-15 2008-04-16 2008-04-17 2008-04-18 2008-04-19 2008-04-20 2008-04-21
FALSE FALSE FALSE FALSE TRUE TRUE FALSE
2008-04-22 2008-04-23 2008-04-24 2008-04-25 2008-04-26 2008-04-27 2008-04-28
FALSE FALSE FALSE FALSE TRUE TRUE FALSE
2008-04-29 2008-04-30
FALSE FALSE
> tS[isWeekend(tS)]
GMT
[1] [2008-04-05] [2008-04-06] [2008-04-12] [2008-04-13] [2008-04-19]
[6] [2008-04-20] [2008-04-26] [2008-04-27]
>
> ## Subset Wednesdays:
> getDayOfWeek(tS)
2008-04-01 2008-04-02 2008-04-03 2008-04-04 2008-04-05 2008-04-06 2008-04-07
"Tue" "Wed" "Thu" "Fri" "Sat" "Sun" "Mon"
2008-04-08 2008-04-09 2008-04-10 2008-04-11 2008-04-12 2008-04-13 2008-04-14
"Tue" "Wed" "Thu" "Fri" "Sat" "Sun" "Mon"
2008-04-15 2008-04-16 2008-04-17 2008-04-18 2008-04-19 2008-04-20 2008-04-21
"Tue" "Wed" "Thu" "Fri" "Sat" "Sun" "Mon"
2008-04-22 2008-04-23 2008-04-24 2008-04-25 2008-04-26 2008-04-27 2008-04-28
"Tue" "Wed" "Thu" "Fri" "Sat" "Sun" "Mon"
2008-04-29 2008-04-30
"Tue" "Wed"
> tS[getDayOfWeek(tS) == "Wed"]
GMT
[1] [2008-04-02] [2008-04-09] [2008-04-16] [2008-04-23] [2008-04-30]
>
> ## Subset Business Days at NYSE:
> holidayNYSE()
NewYork
[1] [2008-01-01] [2008-01-21] [2008-02-18] [2008-03-21] [2008-05-26]
[6] [2008-07-04] [2008-09-01] [2008-11-27] [2008-12-25]
> isBizday(tS, holidayNYSE())
2008-04-01 2008-04-02 2008-04-03 2008-04-04 2008-04-05 2008-04-06 2008-04-07
TRUE TRUE TRUE TRUE FALSE FALSE TRUE
2008-04-08 2008-04-09 2008-04-10 2008-04-11 2008-04-12 2008-04-13 2008-04-14
TRUE TRUE TRUE TRUE FALSE FALSE TRUE
2008-04-15 2008-04-16 2008-04-17 2008-04-18 2008-04-19 2008-04-20 2008-04-21
TRUE TRUE TRUE TRUE FALSE FALSE TRUE
2008-04-22 2008-04-23 2008-04-24 2008-04-25 2008-04-26 2008-04-27 2008-04-28
TRUE TRUE TRUE TRUE FALSE FALSE TRUE
2008-04-29 2008-04-30
TRUE TRUE
> tS[isBizday(tS, holidayNYSE())]
GMT
[1] [2008-04-01] [2008-04-02] [2008-04-03] [2008-04-04] [2008-04-07]
[6] [2008-04-08] [2008-04-09] [2008-04-10] [2008-04-11] [2008-04-14]
[11] [2008-04-15] [2008-04-16] [2008-04-17] [2008-04-18] [2008-04-21]
[16] [2008-04-22] [2008-04-23] [2008-04-24] [2008-04-25] [2008-04-28]
[21] [2008-04-29] [2008-04-30]
>
> ## [ - Subsetting First Five Days:
> tS[1:5]
GMT
[1] [2008-04-01] [2008-04-02] [2008-04-03] [2008-04-04] [2008-04-05]
>
> ## window -
> GoodFriday(currentYear)
GMT
[1] [2008-03-21]
> EasterMonday(currentYear)
GMT
[1] [2008-03-24]
> window(tS,
+ start = GoodFriday(currentYear),
+ end = EasterMonday(currentYear))
Warning in min(x) : no non-missing arguments to min; returning Inf
Warning in max(x) : no non-missing arguments to max; returning -Inf
Error in .midnightStandard(charvec, format) :
'charvec' has non-NA entries of different number of characters
Calls: window -> window.timeDate -> timeDate -> .midnightStandard
Execution halted
More information about the Rmetrics-core
mailing list