[R-pkg-team] Bug#1024012: r-cran-xts: autopkgtest regression on i386

Sebastian Ramacher sramacher at debian.org
Sun Nov 13 18:42:28 GMT 2022


Source: r-cran-xts
Version: 0.12.2-1
Severity: serious
X-Debbugs-Cc: sramacher at debian.org

https://ci.debian.net/data/autopkgtest/testing/i386/r/r-cran-xts/28179801/log.gz

The following objects are masked from 'package:base':

    as.Date, as.Date.numeric

Error in make.index.unique.xts(x, eps = eps) : 
  (converted from warning) index value is unique but will be replaced; it is less than the cumulative epsilon for the preceding duplicate index values
In addition: Warning messages:
1: In make.index.unique.xts(x, eps = 1e-06) :
  index value is unique but will be replaced; it is less than the cumulative epsilon for the preceding duplicate index values
2: In make.index.unique.xts(x, eps = eps) :
  index value is unique but will be replaced; it is less than the cumulative epsilon for the preceding duplicate index values
Error in try.xts(sample.data.frame[, 1]) : 
  Error in as.xts.double(x, ..., .RECLASS = TRUE) :   order.by must be either 'names()' or otherwise specified
Error in diff.xts(x, 1L, -1L) : 
  'diff.xts' defined only for positive lag and differences arguments
Error in diff.xts(x, 1L, "a") : 'differences' must be integer
In addition: Warning message:
In diff.xts(x, 1L, "a") : NAs introduced by coercion
Error in diff.xts(x, -1L, 1L) : 
  'diff.xts' defined only for positive lag and differences arguments
Error in diff.xts(x, "a", 1L) : 'lag' must be integer
In addition: Warning message:
In diff.xts(x, "a", 1L) : NAs introduced by coercion
Error in endpoints(x, on = "years", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "years", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "quarters", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "quarters", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "months", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "months", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "weeks", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "weeks", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "days", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "days", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "hours", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "hours", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "minutes", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "minutes", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "seconds", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "seconds", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "ms", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "ms", k = -1) : 'k' must be > 0
Error in endpoints(x, on = "us", k = 0) : 'k' must be > 0
Error in endpoints(x, on = "us", k = -1) : 'k' must be > 0
Error in `tclass<-.xts`(x, value) : improperly specified value for tclass
In addition: There were 50 or more warnings (use warnings() to see the first 50)
Error in `tclass<-.xts`(x, value) : unsupported 'tclass' indexing type: 
In addition: Warning message:
'indexClass<-' is deprecated.
Use 'tclass<-' instead.
See help("Deprecated") and help("xts-deprecated"). 
Error in `tclass<-.xts`(x, value) : improperly specified value for tclass
In addition: Warning message:
'indexClass<-' is deprecated.
Use 'tclass<-' instead.
See help("Deprecated") and help("xts-deprecated"). 
Error in eval(expr, envir = parent.frame()) : object 'Date' not found
In addition: Warning message:
In rm(Date) : object 'Date' not found
Error in h(simpleError(msg, call)) : 
  error in evaluating the argument 'i' in selecting a method for function '[': 'match' requires vector arguments
In addition: Warning message:
'indexClass<-' is deprecated.
Use 'tclass<-' instead.
See help("Deprecated") and help("xts-deprecated"). 
Registered S3 method overwritten by 'quantmod':
  method            from
  as.zoo.data.frame zoo 
Error in periodicity(x) : 
  (converted from warning) can not calculate periodicity of 1 observation
In addition: There were 14 warnings (use warnings() to see them)
Error in periodicity(x) : 
  (converted from warning) can not calculate periodicity of empty object
In addition: Warning message:
In periodicity(x) : can not calculate periodicity of empty object
Timing stopped at: 0.013 0 0.014
Error in checkIdentical(nm_target, nm_ms, msg) : FALSE 
 microsecond data split by milliseconds
Error : Supply time-of-day subsetting in the format of T%H:%M:%OS/T%H:%M:%OS
Error : Supply time-of-day subsetting in the format of T%H:%M:%OS/T%H:%M:%OS
Error : (converted from warning) 'indexClass' is deprecated.
Use 'tclass' instead.
See help("Deprecated") and help("xts-deprecated").
In addition: Warning message:
In .parseISO8601(ii, .index(x)[1], .index(x)[nr], tz = tz) :
  cannot determine first and last time from 2012-02-30/2012-02-30
Error : (converted from warning) 'indexClass<-' is deprecated.
Use 'tclass<-' instead.
See help("Deprecated") and help("xts-deprecated").
Error : (converted from warning) 'indexFormat' is deprecated.
Use 'tformat' instead.
See help("Deprecated") and help("xts-deprecated").
Error : (converted from warning) 'indexFormat<-' is deprecated.
Use 'tformat<-' instead.
See help("Deprecated") and help("xts-deprecated").
Error : (converted from warning) 'indexTZ' is deprecated.
Use 'tzone' instead.
See help("Deprecated") and help("xts-deprecated").
Error : (converted from warning) 'indexTZ<-' is deprecated.
Use 'tzone<-' instead.
See help("Deprecated") and help("xts-deprecated").
Error in .xts(1:3, c(1, 2, Inf)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
In addition: There were 12 warnings (use warnings() to see them)
Error in .xts(1:3, c(-Inf, 2, 3)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(1, 2, NA)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(NA, 2, 3)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(1, NA, 3)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(1L, 2L, NA)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(NA, 2L, 3L)) : index is not in  increasing order
Error in .xts(1:3, c(1L, NA, 3L)) : index is not in  increasing order
Error in .xts(1:3, c(1, 2, NaN)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(NaN, 2, 3)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in .xts(1:3, c(1, NaN, 3)) : 
  'index' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1, as.Date("2018-05-02"), .indexCLASS = "Date") : 
  (converted from warning) '.indexCLASS' is deprecated, use tclass instead.
In addition: Warning messages:
1: In .xts(1, 1, tformat = "%Y", .indexCLASS = "Date", .indexTZ = "UTC",  :
  '.indexCLASS' is deprecated, use tclass instead.
2: In .xts(1, 1, tformat = "%Y", .indexCLASS = "Date", .indexTZ = "UTC",  :
  '.indexTZ' is deprecated and will be ignored, use tzone instead.
Error in .xts(1, as.Date("2018-05-02"), .indexCLASS = "Date") : 
  (converted from warning) '.indexCLASS' is deprecated, use tclass instead.
Error in xts(1, as.Date("2018-05-02"), .indexFORMAT = "%Y") : 
  (converted from warning) '.indexFORMAT' is deprecated, use tformat instead.
Error in .xts(1, as.Date("2018-05-02"), .indexFORMAT = "%Y") : 
  (converted from warning) '.indexFORMAT' is deprecated, use tformat instead.
Error in xts(1, as.Date("2018-05-02"), .indexTZ = "UTC") : 
  (converted from warning) '.indexTZ' is deprecated, use tzone instead.
Error in .xts(1, as.Date("2018-05-02"), .indexTZ = "UTC") : 
  (converted from warning) '.indexTZ' is deprecated and will be ignored, use tzone instead.
Error in xts(1:3, .POSIXct(c(1, 2, Inf))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(-Inf, 2, 3))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(1, 2, NA))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(NA, 2, 3))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(1, NA, 3))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, as.Date(c(1L, 2L, NA), origin = "1970-01-01")) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, as.Date(c(NA, 2L, 3L), origin = "1970-01-01")) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, as.Date(c(1L, NA, 3L), origin = "1970-01-01")) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(1, 2, NaN))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(NaN, 2, 3))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'
Error in xts(1:3, .POSIXct(c(1, NaN, 3))) : 
  'order.by' cannot contain 'NA', 'NaN', or 'Inf'

[1] "performance:"
[1] "binary search"
   user  system elapsed 
  0.056   0.000   0.055 
[1] "regular search"
   user  system elapsed 
  0.272   0.004   0.275 
------------------- UNIT TEST SUMMARY ---------------------

RUNIT TEST PROTOCOL -- Sat Nov 12 17:18:54 2022 
*********************************************** 
Number of test functions: 431 
Number of errors: 0 
Number of failures: 1 

 
1 Test Suite : 
xts unit testing - 431 test functions, 0 errors, 1 failure
FAILURE in test.split_returns_named_list: Error in checkIdentical(nm_target, nm_ms, msg) : FALSE 
 microsecond data split by milliseconds
Error: 

unit testing failed (#test failures: 1, #R errors: 0)

Execution halted
autopkgtest [17:18:55]: test run-unit-test: -----------------------]
autopkgtest [17:18:55]: test run-unit-test:  - - - - - - - - - - results - - - - - - - - - -
run-unit-test        FAIL non-zero exit status 1


Cheers
-- 
Sebastian Ramacher



More information about the R-pkg-team mailing list