pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/math/R-gtools Update to 3.5.0



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2097c6481443
branches:  trunk
changeset: 356059:2097c6481443
user:      wen <wen%pkgsrc.org@localhost>
date:      Sun Dec 18 02:51:34 2016 +0000

description:
Update to 3.5.0

Upstream changes:
gtools 3.5.0 - 2015-04-28
-------------------------

New Functions:

- New roman2int() functon to convert roman numerals to integers
  without the range restriction of utils::as.roman().

- New asc() and chr() functions to convert between ASCII codes and
  characters. (Based on the 'Data Debrief' blog entry for 2011-03-09
  at http://datadebrief.blogspot.com/2011/03/ascii-code-table-in-r.html).

- New unByteCode() and unByteCodeAssign() functions to convert a
  byte-code functon to an interpeted code function.

- New assignEdgewise() function for making assignments into locked
  environments. (Used by unByteCodeAssign().)

Enhacements:

- mixedsort() and mixedorder() now have arguments 'decreasing',
  'na.last', and 'blank.last' arguments to control sort ordering.

- mixedsort() and mixedirdeR() now support Roman numerals via the
  arguments 'numeric.type', and 'roman.case'.  (Request by David
  Winsemius, suggested code changes by Henrik Bengtsson.)

- speed up mixedorder() (and hence mixedsort()) by moving
  suppressWarnings() outside of lapply loops. (Suggestion by Henrik
  Bengtsson.)

- The 'q' argument to quantcut() now accept an integer
  indicating the number of equally spaced quantile groups to
  create. (Suggestion and patch submitted by Ryan C. Thompson.)

Bug fixes:

- Removed stray browser() call in smartbind().

- ddirichlet(x, alpha) was incorrectly returning NA when for any i,
  x[i]=0 and alpha[i]=1.  (Bug report by John Nolan.)

Other changes:

- Correct typographical errors in package description.


gtools 3.4.2 - 2015-04-06
-------------------------

New features:

- New function loadedPackages() to display name, version, and path of
  loaded packages (package namespaces).

- New function: na.replace() to replace missing values within a
  vector with a specified value.`

Bug fixes:

- Modify keywords() to work properly in R 3.4.X and later.


gtools 3.4.1 - 2014-05-27
-------------------------

Bug fixes:

- smartbind() now converts all non-atomic type columns (except factor)
  to type character instead of generating an opaque error message.

Other changes:

- the argument to ASCIIfy() is now named 'x' instead of 'string'.

- minor formatting changes to ASCIIfy() man page.

gtools 3.4.0 - 2014-04-14
-------------------------

New features:

- New ASCIIfy() function to converts character vectors to ASCII
  representation by escaping them as \x00 or \u0000 codes.
  Contributed by Arni Magnusson.


gtools 3.3.1 - 2014-03-01
-------------------------

Bug fixes:

- 'mixedorder' (and hence 'mixedsort') not properly handling
  single-character strings between numbers, so that '1a2' was being
  handled as a single string rather than being properly handled as
  c('1', 'a', '2').



gtools 3.3.0 - 2014-02-11
-------------------------

New features:

- Add the getDependencies() function to return a list of dependencies
  for the specified package(s).  Includes arguments to control whether
  these dependencies should be constructed using information from
  locally installed packages ('installed', default is TRUE), avilable
  CRAN packages ('available', default is TRUE) and whether to include
  base ('base', default=FALSE) and recommended ('recommended', default
  is FALSE) packages.

Bug fixes:

- binsearch() was returning the wrong endpoint & value when the found
  value was at the upper endpoint.

gtools 3.2.1 - 2014-01-13
-------------------------

Bug fixes:

- Resolve circular dependency with gdata


gtools 3.2.0 - 2014-01-11
-------------------------

New features:

- The keywords() function now accepts a function or function name as
  an argument and will return the list of keywords associated with the
  named function.

- New function stars.pval() which will generate p-value significance
  symbols ('***', '**', etc.)

Bug fixes:

- R/mixedsort.R: mixedorder() was failing to correctly handle numbers
  including decimals due to a faulty regular expression.

Other changes:

- capture() and sprint() are now defunct.


gtools 3.1.1 - 2013-11-06
-------------------------

Bug fixes:

- Fix problem with mixedorder/mixedsort when there is zero or one
  elements in the argument vector.


gtools 3.1.0 - 2013-09-22
-------------------------

Major changes:

- The function 'addLast()' (deprecated since gtools 3.0.0) is no
  longer available, and has been marked defunct.

Bug fixes:

- Modified 'mixedorder()' to use Use 'suppressWarnings() instead of
  'options(warn=-1)'.  This will avoid egregious warning messages when
  called from within a nested environment, such as when run from
  within 'knitr'


gtools 3.0.0 - 2013-07-06
-------------------------

Major changes:

- The function 'addLast()' has been deprecated because it directly
  manipulates the global environment, which is expressly prohibited by
  the CRAN policies.

- A new function, 'lastAdd()' has been created to replace 'addLast()'.
  The name has been changed because the two functions require
  different syntax. 'addLast()' was used like this:

    byeWorld <- function() cat("\nGoodbye World!\n")
    addLast(byeWorld)

  The new 'lastAdd()' function is used like this:

    byeWorld <- function() cat("\nGoodbye World!\n")
    .Last <- lastAdd(byeWorld)

Bug fixes:

- Update checkRVersion() to work with R version 3.0.0 and later.

Other changes:

- Remove cross-reference to (obsolete?) moc package

- The function 'assert()' (deprecated since gtools 2.5.0) is no longer
  available and has been marked defunct.

gtools 2.7.1 - 2013-03-17
-------------------------

Bug fixes:

- smartbind() was not properly handling factor columns when the first
  data frame did not include the relevant column.

gtools 2.7.0 - 2012-06-19
-------------------------

New features:

- smartbind() has a new 'sep' argument to allow specification of the
  character(s) used to separate components of constructed column names

- smartbind() has a new 'verbose' argument to provide details on how
  coluumns are being processed

Bug fixes:

- smartbind() has been enhanced to improve handling of factor and
  ordered factor columns.

diffstat:

 math/R-gtools/Makefile |   4 ++--
 math/R-gtools/distinfo |  10 +++++-----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (33 lines):

diff -r fb8a508b09d4 -r 2097c6481443 math/R-gtools/Makefile
--- a/math/R-gtools/Makefile    Sun Dec 18 02:46:40 2016 +0000
+++ b/math/R-gtools/Makefile    Sun Dec 18 02:51:34 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2012/04/15 15:26:35 brook Exp $
+# $NetBSD: Makefile,v 1.6 2016/12/18 02:51:34 wen Exp $
 
 CATEGORIES=    math
 MASTER_SITES=  ${MASTER_SITE_R_CRAN:=contrib/}
@@ -9,7 +9,7 @@
 LICENSE=       gnu-lgpl-v2.1
 
 R_PKGNAME=     gtools
-R_PKGVER=      2.6.2
+R_PKGVER=      3.5.0
 
 CHECK_WRKREF_SKIP+=    lib/R/library/gtools/libs/gtools.so
 
diff -r fb8a508b09d4 -r 2097c6481443 math/R-gtools/distinfo
--- a/math/R-gtools/distinfo    Sun Dec 18 02:46:40 2016 +0000
+++ b/math/R-gtools/distinfo    Sun Dec 18 02:51:34 2016 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2015/11/03 23:33:28 agc Exp $
+$NetBSD: distinfo,v 1.6 2016/12/18 02:51:34 wen Exp $
 
-SHA1 (R/gtools_2.6.2.tar.gz) = acbf981bf6c0ce9248a7852fe89c8ad295c4e9d9
-RMD160 (R/gtools_2.6.2.tar.gz) = bb4598020e8299ea173b34e765cf80e18b0fb31a
-SHA512 (R/gtools_2.6.2.tar.gz) = b27d7edf922e73d591b71688f2e37c565181b1535c1e961a1ead6a07855632fd153de83656a39ea93987471f571396a8fdaed86efb5a11f1586f5ec090bc2322
-Size (R/gtools_2.6.2.tar.gz) = 46942 bytes
+SHA1 (R/gtools_3.5.0.tar.gz) = 0a07d2f459b3fea74333cebb7dd16ccefcd93298
+RMD160 (R/gtools_3.5.0.tar.gz) = 45d57e75159ff8aa7cd961907627d996b6a16e4e
+SHA512 (R/gtools_3.5.0.tar.gz) = 3a629d1d9ebb2f0c776b2d7f73d508b057c4a45d2bb5a8d951e218e974351408dddb29890fa5ddb552a046f658841623a9cfd8a46adfed5098523b674079af5b
+Size (R/gtools_3.5.0.tar.gz) = 64855 bytes



Home | Main Index | Thread Index | Old Index