Running ‘doRUnit.R’ [3s/6s]
Running the tests in ‘tests/doRUnit.R’ failed.
Complete output:
  > #### doRUnit.R --- Run RUnit tests
  > ####------------------------------------------------------------------------
  > 
  > ### Origianlly follows Gregor Gojanc's example in CRAN package  'gdata'
  > ### and the corresponding section in the R Wiki:
  > ###  http://wiki.r-project.org/rwiki/doku.php?id=developers:runit
  > 
  > ### MM: Vastly changed:  This should also be "runnable" for *installed*
  > ##              package which has no ./tests/
  > ## ----> put the bulk of the code e.g. in  ../inst/unitTests/runTests.R :
  > 
  > if(require("RUnit", quietly = TRUE)) {
  + 
  +   ## --- Setup ---
  + 
  +   wd <- getwd()
  +   pkg <- sub("\\.Rcheck$", '', basename(dirname(wd)))
  + 
  +   library(package=pkg, character.only=TRUE)
  + 
  +   path <- system.file("unitTests", package = pkg)
  + 
  +   stopifnot(file.exists(path), file.info(path.expand(path))$isdir)
  + 
  +   source(file.path(path, "runTests.R"), echo = TRUE)
  + }
  
  > pkg <- "timeDate"
  
  > if (require("RUnit", quietly = TRUE)) {
  +     library(package = pkg, character.only = TRUE)
  +     if (!(exists("path") && file.exists(path))) 
  +     .... [TRUNCATED] 
  
  
  Executing test function test.POSIX  ...  [1] "2006-01-01 GMT" "2006-02-01 GMT" "2006-03-01 GMT" "2006-04-01 GMT"
   [5] "2006-05-01 GMT" "2006-06-01 GMT" "2006-07-01 GMT" "2006-08-01 GMT"
   [9] "2006-09-01 GMT" "2006-10-01 GMT" "2006-11-01 GMT" "2006-12-01 GMT"
  [1] "POSIXct" "POSIXt" 
  GMT
   [1] [2006-01-01] [2006-02-01] [2006-03-01] [2006-04-01] [2006-05-01]
   [6] [2006-06-01] [2006-07-01] [2006-08-01] [2006-09-01] [2006-10-01]
  [11] [2006-11-01] [2006-12-01]
   [1] "2006-01-01" "2006-02-01" "2006-03-01" "2006-04-01" "2006-05-01"
   [6] "2006-06-01" "2006-07-01" "2006-08-01" "2006-09-01" "2006-10-01"
  [11] "2006-11-01" "2006-12-01"
  GMT
   [1] [2006-01-01] [2006-02-01] [2006-03-01] [2006-04-01] [2006-05-01]
   [6] [2006-06-01] [2006-07-01] [2006-08-01] [2006-09-01] [2006-10-01]
  [11] [2006-11-01] [2006-12-01]
   [1] "2006-01-01" "2006-02-01" "2006-03-01" "2006-04-01" "2006-05-01"
   [6] "2006-06-01" "2006-07-01" "2006-08-01" "2006-09-01" "2006-10-01"
  [11] "2006-11-01" "2006-12-01"
  NewYork
   [1] [2006-01-01] [2006-02-01] [2006-03-01] [2006-04-01] [2006-05-01]
   [6] [2006-06-01] [2006-07-01] [2006-08-01] [2006-09-01] [2006-10-01]
  [11] [2006-11-01] [2006-12-01]
   [1] "2006-01-01" "2006-02-01" "2006-03-01" "2006-04-01" "2006-05-01"
   [6] "2006-06-01" "2006-07-01" "2006-08-01" "2006-09-01" "2006-10-01"
  [11] "2006-11-01" "2006-12-01"
  NewYork
   [1] [2005-12-31 19:00:00] [2006-01-31 19:00:00] [2006-02-28 19:00:00]
   [4] [2006-03-31 19:00:00] [2006-04-30 20:00:00] [2006-05-31 20:00:00]
   [7] [2006-06-30 20:00:00] [2006-07-31 20:00:00] [2006-08-31 20:00:00]
  [10] [2006-09-30 20:00:00] [2006-10-31 19:00:00] [2006-11-30 19:00:00]
   [1] "2005-12-31 19:00:00" "2006-01-31 19:00:00" "2006-02-28 19:00:00"
   [4] "2006-03-31 19:00:00" "2006-04-30 20:00:00" "2006-05-31 20:00:00"
   [7] "2006-06-30 20:00:00" "2006-07-31 20:00:00" "2006-08-31 20:00:00"
  [10] "2006-09-30 20:00:00" "2006-10-31 19:00:00" "2006-11-30 19:00:00"
   done successfully.
  
  
  
  Executing test function test.asDate  ... GMT
  [1] [2006-06-01] [2006-12-01]
  [1] "2006-06-01" "2006-12-01"
  NewYork
  [1] [2006-06-01] [2006-12-01]
  [1] "2006-06-01" "2006-12-01"
   done successfully.
  
  
  
  Executing test function test.asTimeDate  ... GMT
  [1] [2006-06-01 10:00:00] [2006-12-01 10:00:00]
  [1] "2006-06-01 10:00:00" "2006-12-01 10:00:00"
  NewYork
  [1] [2006-06-01 10:00:00] [2006-12-01 10:00:00]
  [1] "2006-06-01 10:00:00" "2006-12-01 10:00:00"
  NewYork
  [1] [2006-06-01 06:00:00] [2006-12-01 05:00:00]
  [1] "2006-06-01 06:00:00" "2006-12-01 05:00:00"
   done successfully.
  
  
  
  Executing test function test.displayMethods  ... myFinCenter 
    "NewYork" 
  NewYork
   [1] [2022-01-01] [2022-02-01] [2022-03-01] [2022-04-01] [2022-05-01]
   [6] [2022-06-01] [2022-07-01] [2022-08-01] [2022-09-01] [2022-10-01]
  [11] [2022-11-01] [2022-12-01]
  Object:        DT
  Start Record:  2006-01-01
  End Record:    2006-12-01
  Observations:  12
  Format:        %Y-%m-%d
  FinCenter:     NewYork
  [1] "2006-07-01"
   done successfully.
  
  
  
  Executing test function test.midnightStandard  ... [1] "2001-01-01 00:00:00" "2007-01-31 00:00:00"
  [1] "2001-01-01 16:00:00"
  [1] "2001-02-01 00:00:00" "2001-01-31 23:10:20"
  [1] "2001-02-01 00:00:00 GMT" "2001-01-31 23:10:20 GMT"
  [1] "2010-01-01 GMT" "2010-10-10 GMT"
  [1] "2001-02-01 00:00:00" "2001-01-31 23:10:00" "2006-01-01 00:00:00"
  [1] "2001-01-31 00:00:00"
   done successfully.
  
  
  
  Executing test function test.sysTimeDate  ... Zurich
  [1] [NA]
  GMT
  [1] [NA]
  NewYork
  [1] [NA]
  [1] "timeDate"
  attr(,"package")
  [1] "timeDate"
  [1] "Date"
   done successfully.
  
  
  
  Executing test function test.timeCalendar  ...  done successfully.
  
  
  
  Executing test function test.timeDate  ... myFinCenter 
        "GMT" 
  [1] "2006-01-10" "2006-01-20" "2006-01-30"
  GMT
  [1] [2006-01-10] [2006-01-20] [2006-01-30]
  GMT
  [1] [2006-01-10 10:00:00] [2006-01-20 10:00:00] [2006-01-30 10:00:00]
  [1] "2006-01-10 10:00" "2006-01-20 10:00" "2006-01-30 10:00"
  GMT
  [1] [2006-01-10 10:00:00] [2006-01-20 10:00:00] [2006-01-30 10:00:00]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01 16:00:00]
  GMT
  [1] [2001-01-01 16:00:00]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01]
  GMT
  [1] [2001-01-01 16:00:00]
  GMT
  [1] [2001-01-01 16:00:00]
  GMT
  [1] [2001-01-01 00:00:00] [2001-01-01 16:00:00]
  GMT
  [1] [2001-01-01 00:00:00] [2001-01-01 16:00:00]
  Zurich
  [1] [2001-01-01 01:00:00]
  Zurich
  [1] [2001-01-01 01:00:00]
  Zurich
  [1] [2001-01-01 01:00:00]
  Zurich
  [1] [2001-01-01 17:00:00]
  Zurich
  [1] [2001-01-01 17:00:00]
  Zurich
  [1] [2001-01-01 01:00:00] [2001-01-01 17:00:00]
  Zurich
  [1] [2001-01-01 01:00:00] [2001-01-01 17:00:00]
  GMT
  [1] [2006-03-01] [2006-06-01] [2006-09-01] [2006-12-01]
  GMT
  [1] [2006-12-15]
   done successfully.
  
  
  
  Executing test function test.timeSequence  ...  done successfully.
  
  
  
  Executing test function test.whichFormat  ... [1] "%Y%m%d"
  [1] "%Y%m%d%H%M"
  [1] "%Y%m%d%H%M%S"
  [1] "%Y%m%d%H%M"
  [1] "%Y%m%d%H%M%S"
  [1] "%Y-%m-%d"
  [1] "%Y-%m-%d %H:%M"
  [1] "%Y-%m-%d %H:%M:%S"
  [1] "%Y-%m-%d %H:%M"
  [1] "%Y-%m-%d %H:%M:%S"
  [1] "%m/%d/%Y"
  [1] "%d-%b-%Y"
   done successfully.
  
  
  
  Executing test function test.as  ...  done successfully.
  
  
  
  Executing test function test.asTimeDate  ...  done successfully.
  
  
  
  Executing test function test.atoms  ...  done successfully.
  
  
  
  Executing test function test.julian  ...  done successfully.
  
  
  
  Executing test function test.months  ...  done successfully.
  
  
  
  Executing test function test.dst1.print  ...  done successfully.
  
  
  
  Executing test function test.dst2.print  ...  done successfully.
  
  
  
  Executing test function test.zurich  ...  done successfully.
  
  
  
  Executing test function test.listFinCenter  ...  done successfully.
  
  
  
  Executing test function test.myFinCenter  ...  done successfully.
  
  
  
  Executing test function test.rulesFinCenter  ...  done successfully.
  
  
  
  Executing test function test.holiday  ...  done successfully.
  
  
  
  Executing test function test.holidayNERC  ... Eastern
  [1] [2022-01-01] [2022-05-30] [2022-07-04] [2022-09-05] [2022-11-24]
  [6] [2022-12-26]
  Eastern
  [1] [2022-01-01] [2022-05-30] [2022-07-04] [2022-09-05] [2022-11-24]
  [6] [2022-12-26]
   done successfully.
  
  
  
  Executing test function test.holidayNYSE  ... NewYork
  [1] [2022-01-17] [2022-02-21] [2022-04-15] [2022-05-30] [2022-06-20]
  [6] [2022-07-04] [2022-09-05] [2022-11-24] [2022-12-26]
  NewYork
  [1] [2022-01-17] [2022-02-21] [2022-04-15] [2022-05-30] [2022-06-20]
  [6] [2022-07-04] [2022-09-05] [2022-11-24] [2022-12-26]
   done successfully.
  
  
  
  Executing test function test.holidayZURICH  ...  done successfully.
  
  
  
  Executing test function test.easter  ...  done successfully.
  
  
  
  Executing test function test.holiday  ... 2022-11-27 Advent1st 
  2022-12-04 Advent2nd 
  2022-12-11 Advent3rd 
  2022-12-18 Advent4th 
  2022-11-01 AllSaints 
  2022-11-02 AllSouls 
  2022-03-25 Annunciation 
  2022-05-26 Ascension 
  2022-03-02 AshWednesday 
  2022-08-15 AssumptionOfMary 
  2022-09-08 BirthOfVirginMary 
  2022-12-26 BoxingDay 
  2022-07-01 CACanadaDay 
  2022-08-01 CACivicProvincialHoliday 
  2022-09-05 CALabourDay 
  2022-10-10 CAThanksgivingDay 
  2022-05-23 CAVictoriaDay 
  2022-05-26 CHAscension 
  2022-01-02 CHBerchtoldsDay 
  2022-08-01 CHConfederationDay 
  2022-09-12 CHKnabenschiessen 
  2022-04-18 CHSechselaeuten 
  2022-11-11 CaRemembranceDay 
  2022-09-14 CelebrationOfHolyCross 
  2022-11-20 ChristTheKing 
  2022-12-25 ChristmasDay 
  2022-12-24 ChristmasEve 
  2022-06-16 CorpusChristi 
  2022-05-26 DEAscension 
  2022-12-24 DEChristmasEve 
  2022-06-16 DECorpusChristi 
  2022-10-03 DEGermanUnity 
  2022-12-31 DENewYearsEve 
  2022-04-17 Easter 
  2022-04-18 EasterMonday 
  2022-04-17 EasterSunday 
  2022-01-06 Epiphany 
  2022-11-01 FRAllSaints 
  2022-11-11 FRArmisticeDay 
  2022-05-26 FRAscension 
  2022-08-15 FRAssumptionVirginMary 
  2022-07-14 FRBastilleDay 
  2022-05-08 FRFetDeLaVictoire1945 
  2022-05-30 GBBankHoliday 
  2022-05-02 GBMayDay 
  1999-12-31 GBMilleniumDay 
  2022-08-29 GBSummerBankHoliday 
  2022-04-15 GoodFriday 
  2022-11-01 ITAllSaints 
  2022-08-15 ITAssumptionOfVirginMary 
  2022-01-06 ITEpiphany 
  2022-12-08 ITImmaculateConception 
  2022-04-25 ITLiberationDay 
  2022-12-07 ITStAmrose 
  2022-09-24 JPAutumnalEquinox 
  2022-12-31 JPBankHolidayDec31 
  2022-01-02 JPBankHolidayJan2 
  2022-01-03 JPBankHolidayJan3 
  2022-11-03 JPBunkaNoHi 
  2022-05-05 JPChildrensDay 
  2022-01-15 JPComingOfAgeDay 
  2022-05-03 JPConstitutionDay 
  2022-11-23 JPEmperorsBirthday 
  2022-01-01 JPGantan 
  2022-04-29 JPGreeneryDay 
  2022-10-10 JPHealthandSportsDay 
  2022-09-15 JPKeirouNOhi 
  2022-02-11 JPKenkokuKinenNoHi 
  2022-05-03 JPKenpouKinenBi 
  2022-11-23 JPKinrouKanshaNoHi 
  2022-05-05 JPKodomoNoHi 
  2022-05-04 JPKokuminNoKyujitu 
  2022-07-20 JPMarineDay 
  2022-04-29 JPMidoriNoHi 
  2022-02-11 JPNatFoundationDay 
  2022-05-04 JPNationHoliday 
  2022-11-03 JPNationalCultureDay 
  2022-01-01 JPNewYearsDay 
  2022-09-15 JPRespectForTheAgedDay 
  2022-01-15 JPSeijinNoHi 
  2022-09-24 JPShuubunNoHi 
  2022-10-10 JPTaiikuNoHi 
  2022-11-23 JPTennouTanjyouBi 
  2022-11-23 JPThanksgivingDay 
  2022-07-20 JPUmiNoHi 
  2022-05-01 LaborDay 
  2022-09-29 MassOfArchangels 
  2022-01-01 NewYearsDay 
  2022-04-10 PalmSunday 
  2022-06-05 Pentecost 
  2022-06-06 PentecostMonday 
  2022-02-02 PresentationOfLord 
  2022-02-27 Quinquagesima 
  2022-05-22 RogationSunday 
  2022-02-13 Septuagesima 
  2022-01-01 SolemnityOfMary 
  2022-08-06 TransfigurationOfLord 
  2022-06-12 TrinitySunday 
  2022-03-07 USCPulaskisBirthday 
  2022-12-25 USChristmasDay 
  2022-10-10 USColumbusDay 
  2022-05-30 USDecorationMemorialDay 
  2022-11-08 USElectionDay 
  2022-04-15 USGoodFriday 
  2022-01-20 USInaugurationDay 
  2022-07-04 USIndependenceDay 
  2022-09-05 USLaborDay 
  2022-02-12 USLincolnsBirthday 
  2022-01-17 USMLKingsBirthday 
  2022-05-30 USMemorialDay 
  2022-01-01 USNewYearsDay 
  2022-02-21 USPresidentsDay 
  2022-11-24 USThanksgivingDay 
  2022-11-11 USVeteransDay 
  2022-02-22 USWashingtonsBirthday 
   done successfully.
  
  
  
  Executing test function test.listHolidays  ...  done successfully.
  
  
  
  Executing test function test.timeDateMathOps  ...  done successfully.
  
  
  
  Executing test function test.timeDateOrdering  ... Formal class 'timeDate' [package "timeDate"] with 3 slots
    ..@ Data     : POSIXct[1:12], format: "2007-01-01 15:00:00" "2007-02-01 15:00:00" ...
    ..@ format   : chr "%Y-%m-%d %H:%M:%S"
    ..@ FinCenter: chr "NewYork"
  Formal class 'timeDate' [package "timeDate"] with 3 slots
    ..@ Data     : POSIXct[1:12], format: "2007-01-01 15:00:00" "2007-02-01 15:00:00" ...
    ..@ format   : chr "%Y-%m-%d %H:%M:%S"
    ..@ FinCenter: chr "Zurich"
  GMT
   [1] [2022-02-01] [2022-03-01] [2022-07-01] [2022-09-01] [2022-01-01]
   [6] [2022-05-01] [2022-10-01] [2022-11-01] [2022-12-01] [2022-06-01]
  [11] [2022-04-01] [2022-08-01]
  Timing stopped at: 0.037 0 0.068
  Error in seq.int(0, to0 - from, by) : 'to' must be a finite number
  In addition: There were 21 warnings (use warnings() to see them)
   done successfully.
  
  
  
  Executing test function test.timeFirstDayInMonth  ...  done successfully.
  
  
  
  Executing test function test.timeFirstDayInQuarter  ...  done successfully.
  
  
  
  Executing test function test.timeLastDayInMonth  ...  done successfully.
  
  
  
  Executing test function test.timeLastDayInQuarter  ...  done successfully.
  
  
  
  Executing test function test.timeLastNdayInMonth  ...  done successfully.
  
  
  
  Executing test function test.timeNdayOnOrAfter  ...  done successfully.
  
  
  
  Executing test function test.timeNdayOnOrBefore  ...  done successfully.
  
  
  
  Executing test function test.timeNthNdayInMonth  ...  done successfully.
  
  
  
  Executing test function test.Easter  ... Zurich
  [1] [2006-04-09] [2006-04-10] [2006-04-11] [2006-04-12] [2006-04-13]
  [6] [2006-04-14] [2006-04-15] [2006-04-16]
  Zurich
  [1] [2006-04-09] [2006-04-10] [2006-04-11] [2006-04-12] [2006-04-13]
  [6] [2006-04-14] [2006-04-15] [2006-04-16]
   done successfully.
  
  
  
  Executing test function test.blockStart  ...  done successfully.
  
  
  
  Executing test function test.cut  ... GMT
  [1] [2006-04-14]
  GMT
  [1] [2006-04-17]
  GMT
  [1] [2006-04-14] [2006-04-15] [2006-04-16]
  GMT
  [1] [2006-04-14] [2006-04-15] [2006-04-16]
   done successfully.
  
  
  
  Executing test function test.dayOfWeek  ...  done successfully.
  
  
  
  Executing test function test.holidayNYSE  ...  done successfully.
  
  
  
  Executing test function test.isBizday  ...  done successfully.
  
  
  
  Executing test function test.isHoliday  ...  done successfully.
  
  
  
  Executing test function test.isWeekday  ...  done successfully.
  
  
  
  Executing test function test.isWeekend  ...  done successfully.
  
  
  
  Executing test function test.start  ... GMT
  [1] [2022-01-01]
  GMT
  [1] [2022-12-01]
   done successfully.
  
  
  
  Executing test function test.subset  ...  done successfully.
  
  
  
  Executing test function test.AAA  ... [1] "Pacific/Auckland"
   done successfully.
  
  
  
  Executing test function test.dayOfWeek  ...  done successfully.
  
  
  
  Executing test function test.dayOfYear  ...  done successfully.
  
  
  
  Executing test function test.isWeekday  ...  done successfully.
  
  
  
  Executing test function test.isWeekend  ...  done successfully.
  
  
  
  Executing test function test.seq.GMT  ...  done successfully.
  
  
  
  Executing test function test.seq.Zurich  ...  done successfully.
  
  RUnit reports are written into /home/hornik/tmp/scratch/RtmpZhwkyH/timeDate_unitTestsf88d2305c444/report.(txt|html)RUNIT TEST PROTOCOL -- Thu Sep 29 13:19:11 2022 
  *********************************************** 
  Number of test functions: 56 
  Number of errors: 1 
  Number of failures: 0 
  
   
  1 Test Suite : 
  timeDate unit testing - 56 test functions, 1 error, 0 failures
  ERROR in test.timeDateOrdering: Error in seq.int(0, to0 - from, by) : 'to' must be a finite number
  Error in eval(ei, envir) : 
  
  unit testing failed (#test failures: 0, R errors: 1)
  
  Calls: source -> withVisible -> eval -> eval
  In addition: There were 16 warnings (use warnings() to see them)
  Execution halted