joshuaulrich / xts

Extensible time series class that provides uniform handling of many R time series classes by extending zoo.
http://joshuaulrich.github.io/xts/
GNU General Public License v2.0
219 stars 71 forks source link

subset with negative non-integer 'i' or 'j' does not warn #415

Closed joshuaulrich closed 8 months ago

joshuaulrich commented 8 months ago

These should throw a warning but do not. See #413.

require(xts)
x <- .xts(matrix(1:20, 10, 2), 1:10)
x[-1.3,]
x[,-1.3]