Skip to content

Commit

Permalink
Update NEWS; correct README.md link
Browse files Browse the repository at this point in the history
Fixes #204.
  • Loading branch information
joshuaulrich committed Sep 20, 2017
1 parent f3f6cb9 commit 69e8f26
Show file tree
Hide file tree
Showing 2 changed files with 271 additions and 2 deletions.
271 changes: 270 additions & 1 deletion NEWS
Original file line number Diff line number Diff line change
@@ -1,9 +1,278 @@
Changed in xts 0.8-1:
Changed in xts 0.10-1:

o indexFormat is now generic, consistent with indexFormat<- (#188).

o Calling as.matrix() on a zero-width xts object now behaves consistently
with zoo, and no longer throws an error (#130).

o Fix weird result in merge.xts() when 'fill' argument is NULL or a zero-
length vector (#261).

o Fixed bug in endpoints() due to sub-second representation error via using
integer division (%/%) with non- integer arguments (#202).

o endpoints() gained sub-second accuracy on Windows (#282).

o plot.xts() no longer errors when called on an object containing a constant
value. It chooses ylim values +/-20% from the series value (#156).

o plot.xts() now places y-axis labels in the same location on the plot,
regardless of data periodicity (#85).

o rbind.xts() now throws an error if passed an xts object with different
number of observations in the index and data (e.g., zero-width) (#98).

Changed in xts 0.10-0:

Major changes include:
o A new plot.xts() that is incompatible with earlier versions of plot.xts().
o Moved development from R-Forge to GitHub.
o New xts FAQ.

Other, less disruptive changes include:

o merge.xts() now throws an error if the index contains non-finite values
(#174).

o Constructors xts() and .xts() now ensure order.by and index arguments do not
contain non-finite values. Many xts functions, most notably merge.xts(),
expect all index values to be finite. Missing index values usually indicate
an error, and always occurred at the end of the index (#173, #194, #199).

o Fixed bug in endpoints() when called on sparse data that have the same month
and day, but different years (#169).

o Fixed bug in [.xts did not do the same checks on logical xts objects as it
does for all other data types (#163).

o Fixed bug that caused split.xts() to error if 'f' is a character vector with
more than 1 element (#134).

o Fixed bug that crashed R if 'k' argument to lag.xts() was not an integer and
would be NA when coerced to integer (#152).

o period.apply() now checks to ensure the object's index is unique and sorted,
and sets INDEX <- sort(unique(INDEX)) if it is not. It also ensures INDEX
starts with 0 and ends with NROW(x) (#171).

o All references to the 'its' package have been removed, since it is now
archived on CRAN at the request of its maintainer.

o Fixed bug that crashed R when merge.xts() was called on an empty xts object
and more than one non-xts object (#157).

o Fixed bug that did not set the index's tzone attribute to UTC when
index<-.xts or indexClass<- were called and 'value' did not have a tzone
attribute (#148).

o Fixed a bug in endpoints() that caused incorrect results if the index was
less than the epoch (#144).

o Fixed a bug that caused diff.xts() on a logical xts object to return an
object with a POSIXct index.

o index.xts() works even if the package containing the class for the index
is not attached (it needs to be loaded, however).

o [.xts now returns NA if a one-column xts object is subsect by NA, instead
of throwing an uninformative error (#97).

o Fixed bugs that would crash R when [.xts was called a certain way and 'j'
contained NA values (#97, #181).

o Fixed a bug in endpoints() where 1 second would be subtracted for any date
in the year 1969. The subtraction is only supposed to occur on
1969-12-31 23:59:59.9... to work around behavior in strptime().

o timeBasedSeq() now honors hour/min/sec 'BY' values (#91).

o [.xts now throws an error if 'j' is character and not one of the column
names. This is consistent with [.zoo and [.matrix (#48).

o timeBasedSeq() now works correctly when resolution is "days" the sequence
includes a daylight saving time change (#67).

o Explicitly set indexTZ="UTC" for all index classes that do not have a TZ
(#66). indexTZ="GMT" is also allowed.

o Fixed as.xts() when called on an 'mts' object (#64).

o Moved development from R-Forge to GitHub.

o Fixed bug in to.period() that errored when name=NULL (#5937).

o Fixed bug in .index* functions that did not account for timezones (#5891).

o Fixed bug that allowed index<-.xts to produce an unsorted index (#5893).

o Fixed bug so subsetting a zero-width xts object with a zero-length 'i'
vector no longer returns an object with column names (#5885).

o Updated [.xts to handle 'i' containing multiple zeros (e.g. subsetting by a
"logical" column of an integer xts object).

o endpoints() now errors if k < 0.

Changed in xts 0.9-7:

o Fixed bug that caused logical operators on xts objects to drop the 'tzone'
attribute (#2750).

o Fixed bug that ignored 'which.i' argument to [.xts on zero-width xts
objects (#2753).

o Fixed bug where xts() does not sort 'order.by' if x is missing (#4775).

Changed in xts 0.9-6:

o Fixed bug where setting dimnames to NULL would break as.xts() (#4794).

o Added checks to period.sum/prod/min/max to ensure INDEX is in [0,nrow(x)].

o Fixed missing argument to na_locf() in the C/C++ xtsAPI (Dirk Eddelbuettel).

Changed in xts 0.9-5:

o Increased zoo dependency version to 1.7-10 for changes in C code.

o Fixed several minor issues in the C/C++ xtsAPI (Dirk Eddelbuettel).

Changed in xts 0.9-4:

o Fixed bug where the index was missing the 'tzone' attribute.

o Fixed to.period() bug when 'indexAt' is "firstof" or "lastof". (bug #2691,
patch #2710, thanks to Garrett See)

o Fixed subsetting bug on zero-width xts objects that returned NA data and an
NA index (#2669).

o xts' merge() method now has 'drop' and 'check.names' arguments to match
the zoo merge() method.

o 'index<-' now correctly handles UTC Date objects when resetting index
values. '.index<-' behaved correctly.

o xts' rollapply() method now handles the 'fill' argument.

o Added several functions to the C/C++ API:
- make_index_unique
- make_unique
- endpoints
- do_merge_xts
- na_omit_xts
- na_locf

o Fixed xts' rollapply() method when input has one column, but function
output has more than one column.

Changed in xts 0.9-3:

o No user-visible changes.

Changed in xts 0.9-2:

o Added C/C++ xtsAPI (Dirk Eddelbuettel)

o Added tzone() and tclass() functions as aliases to indexTZ() and
indexClass(), respectively. Eventually will Deprecate/Defunct the former.

Changed in xts 0.9-1:

o xts() now ignores timezone arguments when order.by is Date class, with a
warning.

Changed in xts 0.8-8:

o Modified str() output to make use of proper ISO-8601 range formating

o Fixed bug in reclass() when 'tzone' of object is different than system TZ.

o Fixed bug in xts() that dropped dims when 'x' is a 1-column matrix or
data.frame.

o [.xts no longer warns if 'i' is zero-length.

o to.period() now checks that 'x' is not zero-length/width.

o Fixed edge case in Ops.xts where two objects with no common index create
an invalid 'xts' object with no index.

o to.monthly() and to.quarterly() now default to drop.time=TRUE.

o Internal .drop.time() now changes the index class to Date. This affects
the to.period() family of functions.

o Restore Date index/tclass conversion to POSIXct with a UTC timezone via
integer division instead of double-precision division.

Changed in xts 0.8-6:

o Revert Date index/tclass conversion to POSIXct with a UTC timezone to
previous behavior as in 0.8-2.

Changed in xts 0.8-5:

o A Date index/tclass is now internally converted to POSIXct with a UTC
timezone ensure proper conversion regardless of user TZ settings.

o tclass is now an argument to .xts()

o Fix endpoints() properly handles millisecond time stamps (and microsecond
on not Windows).

o Subsetting zero-width xts objects now behaves like zoo, with NA values
returned for valid row requests.

Changed in xts 0.8-2:

o Fixed bug in lag() and diff() for character coredata.

o Fixed subsetting bug that returned a contiguous chunk of data even when
a non-contiguous 'i' was provided.

o Fixed bug that ignored FinCenter/TZ for timeDate index

o period.apply() now only sets colnames if the number of columns in the input
and output are equal.

o Fixed periodicity() when scale = "yearly"

o Fixed [.xts when row-subsetting via a POSIXct vector, which returned an
object full of NA.

o Added '...' to axis() call inside of plot.xts() to allow for 'cex.axis'
and 'cex.lab' to be passed in.

o Fixed axes=FALSE issue in plot.xts().

o Dependency now on 1.7-0 or better of zoo (R-forge at present)
This build now links to C code moved from xts to zoo. At present
this is only for zoo_lag (used in lag and lagts)

o Added 'drop' and 'fromLast' arguments to make.index.unique().

o Added adj.time() and shift.time()

o Fixed na.locf() bug that would fill trailing NA larger than 'maxgap'
observations (#1319)

o Updated indexFormat() documentation and add an example

Changed in xts 0.8-0:

o Fix print formatting (#1080)

o Fix bug related to na.locf() and zero-width objects (#1079)

o Add .RECLASS = FALSE after '...' for as.xts.*() methods. This makes all
as.xts.*() methods one-way (i.e. not reclass-able). Objects converted to
xts via try.xts() can still be converted back to their original class
via relcass().

o Fix bug that caused colnames to be dropped if object is subset by time
that is not in the index.

Changes in xts 0.7-5:

o try.xts and reclass now are more efficient on xts objects,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ mailing list (you must subscribe to post).

### Contributing

Please see the [contributing guide](CONTRIBUTING.md).
Please see the [contributing guide](.github/CONTRIBUTING.md).

### See Also

Expand Down

0 comments on commit 69e8f26

Please sign in to comment.