summaryrefslogtreecommitdiff
path: root/math/R/patches
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2012-04-15 03:29:47 +0000
committermarkd <markd@pkgsrc.org>2012-04-15 03:29:47 +0000
commit4e5810dd7d1675e3ef4933fb190aded91727b9bc (patch)
tree42a46911bdfadfaa24a5eb58d2a4affdc0c6875c /math/R/patches
parent37946c335d2a517d4ed89d87763852767a1896e1 (diff)
downloadpkgsrc-4e5810dd7d1675e3ef4933fb190aded91727b9bc.tar.gz
Update to 2.14.2
CHANGES IN R VERSION 2.14.2: NEW FEATURES: o The internal untar() (as used by default by R CMD INSTALL) now knows about some pax headers which bsdtar (e.g., the default tar for Mac OS >= 10.6) can incorrectly include in tar files, and will skip them with a warning. o Function compactPDF() in package tools now takes the default for argument gs_quality from environment variable GS_QUALITY: there is a new value "none", the ultimate default, which prevents GhostScript being used in preference to qpdf just because environment variable R_GSCMD is set. If R_GSCMD is unset or set to "", the function will try to find a suitable GhostScript executable. o For consistency with the logLik() method, nobs() for "nls" files now excludes observations with zero weight. (Reported by Berwin Turlach.) UTILITIES: o R CMD check now reports by default on licenses not according to the description in 'Writing R Extensions'. o R CMD check has a new option --as-cran to turn on most of the customizations that CRAN uses for its incoming checks. PACKAGE INSTALLATION: o R CMD INSTALL will now no longer install certain file types from inst/doc: these are almost certainly mistakes and for some packages are wasting a lot of space. + BUG FIXES CHANGES IN R VERSION 2.14.1: NEW FEATURES: o parallel::detectCores() is now able to find the number of physical cores (rather than CPUs) on Sparc Solaris. It can also do so on most versions of Windows; however the default remains detectCores(logical = TRUE) on that platform. o Reference classes now keep a record of which fields are locked. $lock() with no arguments returns the names of the locked fields. o HoltWinters() reports a warning rather than an error for some optimization failures (where the answer might be a reasonable one). o tools::dependsOnPkg() now accepts the shorthand dependencies = "all". o parallel::clusterExport() now allows specification of an environment from which to export. o The quartz() device now does tilde expansion on its file argument. o Option print in Sweave's RweaveLatex() driver now emulates auto-printing rather than printing (which can differ for an S4 object by calling show() rather than print()). o filled.contour() now accepts infinite values: previously it might have generated invalid graphics files (e.g. containing NaN values). + BUG FIXES
Diffstat (limited to 'math/R/patches')
-rw-r--r--math/R/patches/patch-src_main_util.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/math/R/patches/patch-src_main_util.c b/math/R/patches/patch-src_main_util.c
deleted file mode 100644
index 76af0411a13..00000000000
--- a/math/R/patches/patch-src_main_util.c
+++ /dev/null
@@ -1,26 +0,0 @@
-$NetBSD: patch-src_main_util.c,v 1.1 2012/03/06 21:34:29 wiz Exp $
-
-Fix build with pcre-8.30+.
-Based on Petr Písař <ppisar@redhat.com>'s patch
-http://pkgs.fedoraproject.org/gitweb/?p=R.git;a=commitdiff_plain
-
---- src/main/util.c.orig 2011-10-02 22:02:33.000000000 +0000
-+++ src/main/util.c
-@@ -1257,8 +1257,16 @@ Rboolean mbcsValid(const char *str)
- }
-
- #include "pcre.h"
-+#if PCRE_MAJOR > 8 || PCRE_MINOR >= 30
-+extern int _pcre_valid_utf(const char *string, int length, int *erroroffset);
-+
-+Rboolean utf8Valid(const char *str)
-+{
-+ int errp;
-+ return (_pcre_valid_utf(str, (int) strlen(str), &errp) == 0);
-+}
- /* This changed at 8.13: we don't allow < 8.0 */
--#if PCRE_MAJOR > 8 || PCRE_MINOR >= 13
-+#elif PCRE_MAJOR > 8 || PCRE_MINOR >= 13
- extern int _pcre_valid_utf8(const char *string, int length, int *erroroffset);
-
- Rboolean utf8Valid(const char *str)