pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/math/R-xts (math/R-xts) Updated 0.12.1 to 0.12.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f21646ee9610
branches:  trunk
changeset: 390329:f21646ee9610
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Dec 18 13:06:35 2022 +0000

description:
(math/R-xts) Updated 0.12.1 to 0.12.2

################################################################################
Changed in xts 0.12.2:

o `Ops.xts()` no longer changes column names (via `make.names()`) when the two
  objects do not have identical indexes. This makes it consistent with
  `Ops.zoo()`. (#114)

o Subsetting a zero-length xts object now returns an object with the same
  storage type as the input. It previously always returned a 'logical' xts
  object. (#376)

o `tclass()` and `tzone()` now return the correct values for zero-length xts
  objects, instead of the defaults in the `.xts()` constructor. Thanks to Andre
  Mikulec for the report and suggested patch! (#255)

o `endpoints()` now always returns last observation. Thanks to GitHub user
  Eluvias for the report. (#300)

o Ensure `endpoints()` errors for every 'on' value when `k < 1`. It was not
  throwing an error for `k < 1` for `on` of "years", "quarters", or "months".
  Thanks to Eluvias for the report. (#301)

o Fix `window()` for yearmon and yearqtr indexes. In xts < 0.11-0, `window.zoo()`
  was dispatched when `window()` was called on a xts object because there was no
  `window.xts()` method. `window.zoo()` supports additional types of values for the
  `start` argument, and possibly other features. So this fixes a breaking change
  in xts >= 0.11-0. Thanks to GitHub user annaymj for the report. (#312)

o Clarify whether `axTicksByTime()` returns index timestamps or locations (e.g.
  1, 2, 3). Thanks to @ggrothendieck for the suggestion and feedback. (#354)

o Fix merge on complex types when 'fill' is needed. `merge()` would throw an
  error because it treated 'fill' as double instead of complex. Thanks to
  @ggrothendieck for the report. (#346)

o Add a message to tell the user how to disable 'xts_check_TZ' warning. Thanks
  to Jerzy Pawlowski for the nudge. (#113)

o Update `rbind()` to handle xts objects without dim attribute. `rbind()` threw
  an obscure error if one of the xts objects does not have a dim attribute. We
  can handle this case even though all xts objects should always have a dim
  attribute. (#361)

o `split.xts()` now always return a named list, which makes it consistent with
  `split.zoo()`. Thanks to Gabor Grothendieck for the report. (#357)

o xts objects with a zero-length POSIXct index now return a zero-length POSIXct
  vector instead of a zero-length integer vector. Thanks to Jasper Schelfhout
  for the report and PR! (#363, #364)

o Add suffixes to output of `merge.xts()`. The suffixes are consistent with
  `merge.default()` and not `merge.zoo()`, because `merge.zoo()` automatically
  uses "." as a separator between column names, but the default method doesn't.
  Thanks to Pierre Lamarche for the nudge. Better late than never? (#38, #371)


Changes to plotting functionality
--------------------------------------------------------------------------------

o You can now omit the data time range from the upper-right portion of a plot
  by setting `main.timespan = FALSE`. (#247)

o Fix `addEventLines()` when plotted objects have a 'yearmon' index. The ISO-8601
  range string was not created correctly. Thanks to @paessens for the report.
  (#353)

o Make 'ylim' robust against numerical precision issues by replacing `==` with
  `all.equal()`. Thanks to @bollard for the report, PR, and a ton of help
  debugging intermediate solutions! (#368)

o Series added to a panel now extend the panel's y-axis. Previously the y-axis
  limits were based on the first series' values and not updated when new series
  were added. So values of the new series did not appear on the plot if they
  were outside of the original series' min/max. Thanks to Vitalie Spinu for the
  report and help debugging and testing! (#360)

o All series added to any panel of a plot now update the x-axis of all panels.
  So the entire plot's x-axis will include every series' time index values
  within the original plot's time range. This behavior is consistent with
  `chart_Series()`. Thanks to Vitalie Spinu for the report and help debugging
  and testing! (#360, #216)

o All y-values are now plotted for series that have duplicate index values, but
  different data values. Thanks to Vitalie Spinu for the report and help
  debugging and testing! (#360)

o Adding a series can now extend the x-axis before/after the plot's existing
  time index range, so all of the new series' time index values are included in
  the plot. This is FALSE by default to maintain backward compatibility. Thanks
  to Vitalie Spinu for the report and help debugging and testing! (#360)

diffstat:

 math/R-xts/Makefile |  11 +++++++----
 math/R-xts/distinfo |   8 ++++----
 2 files changed, 11 insertions(+), 8 deletions(-)

diffs (40 lines):

diff -r edba74c29376 -r f21646ee9610 math/R-xts/Makefile
--- a/math/R-xts/Makefile       Sun Dec 18 12:57:30 2022 +0000
+++ b/math/R-xts/Makefile       Sun Dec 18 13:06:35 2022 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.13 2021/06/06 15:12:59 mef Exp $
+# $NetBSD: Makefile,v 1.14 2022/12/18 13:06:35 mef Exp $
 
 R_PKGNAME=     xts
-R_PKGVER=      0.12.1
-CATEGORIES=    math
+R_PKGVER=      0.12.2
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       eXtensible Time Series
@@ -11,7 +10,11 @@
 DEPENDS+=      R-zoo>=1.7.12:../../math/R-zoo
 
 # Packages suggested but not available:
-#  'timeSeries', 'timeDate', 'tseries', 'chron', 'fts', 'tis', 'RUnit'
+#  'tseries', 'tis'
+TEST_DEPENDS+= R-chron-[0-9]*:../../math/R-chron
+TEST_DEPENDS+= R-RUnit-[0-9]*:../../devel/R-RUnit
+TEST_DEPENDS+= R-timeDate-[0-9]*:../../time/R-timeDate
+TEST_DEPENDS+= R-timeSeries-[0-9]*:../../finance/R-timeSeries
 
 
 USE_LANGUAGES+=        c fortran
diff -r edba74c29376 -r f21646ee9610 math/R-xts/distinfo
--- a/math/R-xts/distinfo       Sun Dec 18 12:57:30 2022 +0000
+++ b/math/R-xts/distinfo       Sun Dec 18 13:06:35 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.13 2021/10/26 10:55:34 nia Exp $
+$NetBSD: distinfo,v 1.14 2022/12/18 13:06:35 mef Exp $
 
-BLAKE2s (R/xts_0.12.1.tar.gz) = 21942a614e91b62b5b2786cb6cf8f2e3e25195ca368afc4f554b9c2d1680e4df
-SHA512 (R/xts_0.12.1.tar.gz) = ede6128a3222e8979a5dc2786c08b28061d3c475343b9124f866ac8b5bb84763db41ec56b8d158afb5db6396bdec43aadda9bba1929e6eba6b0f33d14efda94d
-Size (R/xts_0.12.1.tar.gz) = 517875 bytes
+BLAKE2s (R/xts_0.12.2.tar.gz) = 119affb7774138cfc27aaf8ee0d85e1a5b67662e6fd2d3126faf41fa71f23bec
+SHA512 (R/xts_0.12.2.tar.gz) = e1dd29a01e7e3ca3f5121bb0d48aea31e0992dcaba83c62bba6bda3bb899e19db7d1d5db8f076e8a4d657412a87873ede86ccb038e2c3eb92652cfc1d8436159
+Size (R/xts_0.12.2.tar.gz) = 438931 bytes



Home | Main Index | Thread Index | Old Index