pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/R-gdata Update R-gdata to 2.4.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/825767be559e
branches:  trunk
changeset: 548382:825767be559e
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Oct 14 07:31:26 2008 +0000

description:
Update R-gdata to 2.4.2

CHANGES IN 2.4.2 (2008-05-11)
-----------------------------

- Enhancements and bug fixes for read.xls() and xls2csv():

    - More informative log messages when verbose=TRUE

    - File paths containing spaces or other non-traditional characters
      are now properly handled

    - Better error messages, particularly when perl fails to generate
      an output .csv file.

    - The 'shortcut' character "~" (meaning user's home directory) is
      now properly handled in file paths.

    - XLS files created by OpenOffice are now properly handled.  Thanks to
       Robert Burns for pointing out the patch
       (http://rt.cpan.org/Public/Bug/Display.html?id=7206)

CHANGES IN 2.4.1 (2008-03-24)
-----------------------------

- Update perl libraries needed by xls2csv() and read.xls()
  to latest available versions on CRAN.

- Add read.xls() to exported function list

- Correct iris.xls example file.  It didn't contain the complete
  & properly formatted iris data set. Fixed.

- Fix typo in win32 example for read.xls()

CHANGES IN 2.4.0 (2008-01-30)
-----------------------------

- The keep() function now includes an 'all' argument to specify how
  objects with names starting with '.' are handled.

- keep() now shows an informative warning message when a requested
  object does not exist

- New vignette "Mapping Levels of a Factor" describing the use of
  mapLevels().

- New vignette "Working with Unknown Values" describing the use of
  isUnknown() and unknownToNA().

- Several enhancements to read.xls() (thanks to Gabor Grothendieck):

  - New function xls2csv(), which handles converting an xls file
    to a csv file and returns a connection to the
    temporary csv file

  - xls2csv() and read.xls() both allow a file or a url to be specified

  - read.xls() has a new 'pattern' argument which, if supplied,
    will ignore everything prior to the first line in th csv file
    that matches the pattern.  This is typically used if there
    are a variable number of comment lines prior to the header
    in which case one can specify one of the column
    headings as the pattern.  read.xls should
    be compatible with the old read.xls.

- Minor fixes to drop.levels(), is.what().

- Implementation of unit tests for most functions.

CHANGES IN 2.3.1 (2006-10-29)
-----------------------------

- Arguments as well as their position of reorder.factor have been changed
  to conform with reorder.factor method in stats package, due to collision
  bug. Argument 'make.ordered' is now 'order' and old argument 'order' is
  now 'new.order'! Therefore, you have to implicitly specify new.order i.e.

  reorder(trt, new.order=c("PLACEBO", "300 MG", "600 MG", "1200 MG"))

- trim() gains ... argument.

- Added "unknown" methods for matrices.

- Added c() method for factors based on mapLevels() functions.

- Added write.fwf, which writes file in *F*ixed *W*idth *F*ormat.

CHANGES FROM 2.1.X to 2.3.0 (2006-09-19)
---------------------------------------

- Added mapLevels(), which produces a map with information on levels and/or
  internal integer codes.  Contributed by Gregor Gorjanc.

- Extended dropLevels() to work on the factors contained in a data
  frame, as well as individual factors.

- Add unknown(), which changes given unknown value to NA and vice
  versa. Contributed by Gregor Gorjanc.

- Extended trim() to handle a variety of data types data.frames,
  lists, factors, etc.  Code changes contributed by Gregor Gorjanc.

- Added resample() command that acts like sample() except that it
  _always_ samples from the arguments provided, even if only a single
  argument is present.  This differs from sample() which behaves
  differently in this case.

- Updated my email address.

diffstat:

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

diffs (36 lines):

diff -r 0cf7f1c62043 -r 825767be559e math/R-gdata/Makefile
--- a/math/R-gdata/Makefile     Tue Oct 14 07:25:31 2008 +0000
+++ b/math/R-gdata/Makefile     Tue Oct 14 07:31:26 2008 +0000
@@ -1,16 +1,15 @@
-# $NetBSD: Makefile,v 1.2 2006/07/23 16:59:22 rillig Exp $
+# $NetBSD: Makefile,v 1.3 2008/10/14 07:31:26 markd Exp $
 #
 
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_R_CRAN:=contrib/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      ${R_HOMEPAGE_BASE}/gdata.html
+HOMEPAGE=      ${R_HOMEPAGE_BASE}/gdata/
 COMMENT=       Various R programming tools for data manipulation
 
 R_PKGNAME=     gdata
-R_PKGVER=      2.1.2
-PKGREVISION=   1
+R_PKGVER=      2.4.2
 
 DEPENDS+=      R-gtools>=2.2.3:../../math/R-gtools
 
diff -r 0cf7f1c62043 -r 825767be559e math/R-gdata/distinfo
--- a/math/R-gdata/distinfo     Tue Oct 14 07:25:31 2008 +0000
+++ b/math/R-gdata/distinfo     Tue Oct 14 07:31:26 2008 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1.1.1 2006/07/02 13:04:13 markd Exp $
+$NetBSD: distinfo,v 1.2 2008/10/14 07:31:26 markd Exp $
 
-SHA1 (R/gdata_2.1.2.tar.gz) = eb8550fe8629f264a82f885f3576e1d5b35bdb73
-RMD160 (R/gdata_2.1.2.tar.gz) = bb85d68ee5e8f63492f48bdbfacedd8d5865668a
-Size (R/gdata_2.1.2.tar.gz) = 207087 bytes
+SHA1 (R/gdata_2.4.2.tar.gz) = 4750cec1a80dd3018689228e1f83570ee9119fe2
+RMD160 (R/gdata_2.4.2.tar.gz) = 22587ce874ddfe2b87d5fe080c185ff3ca459652
+Size (R/gdata_2.4.2.tar.gz) = 462852 bytes



Home | Main Index | Thread Index | Old Index