Wed Aug 11 09:38:37 2021 UTC ()
Update to 4.1.1
Upstream changes:
CHANGES IN R 4.1.1:
NEW FEATURES:
* require(pkg, quietly = TRUE) is quieter and in particular does
not warn if the package is not found.
DEPRECATED AND DEFUNCT:
* Use of ftp:// URIs should be regarded as deprecated, with
on-going support confined to method = "libcurl" and not routinely
tested. (Nowadays no major browser supports them.)
* The non-default method = "internal" is deprecated for http:// and
ftp:// URIs for both download.file and url.
* On Windows, method = "wininet" is deprecated for http://,
https:// and ftp:// URIs for both download.file and url. (A
warning is only given for ftp://.)
For ftp:// URIs the default method is now "libcurl" if available
(which it is on CRAN builds).
method = "wininet" remains the default for http:// and https://
URIs but if libcurl is available, using method = "libcurl" is
preferred.
INSTALLATION:
* make check now works also without a LaTeX installation. (Thanks
to Sebastian Meyer's PR#18103.)
BUG FIXES:
* make check-devel works again in an R build configured with
--without-recommended-packages.
* qnbinom(p, size, mu) for large size/mu is correct now in a range
of cases (PR#18095); similarly for the (size, prob)
parametrization of the negative binomial. Also qpois() and
qbinom() are better and or faster for extreme cases. The
underlying C code has been modularized and is common to all four
cases of discrete distributions.
* gap.axis is now part of the axis() arguments which are passed
from bxp(), and hence boxplot(). (Thanks to Martin Smith's
report and suggestions in PR#18109.)
* .First and .Last can again be set from the site profile.
* seq.int(from, to, *) and seq.default(..) now work better in large
range cases where from-to is infinite where the two boundaries
are finite.
* all.equal(x,y) now returns TRUE correctly also when several
entries of abs(x) and abs(y) are close to .Machine$double.xmax,
the largest finite numeric.
* model.frame() now clears the object bit when removing the class
attribute of a value via na.action (PR#18100).
* charClass() now works with multi-character strings on Windows
(PR#18104, fixed by Bill Dunlap).
* encodeString() on Solaris now works again in Latin-1 encoding on
characters represented differently in UTF-8. Support for
surrogate pairs on Solaris has been improved.
* file.show() on Windows now works with non-ASCII path names
representable in the current native encoding (PR#18132).
* Embedded R on Windows can now find R home directory via the
registry even when installed only for the current user
(PR#18135).
* pretty(x) with finite x now returns finite values also in the
case where the extreme x values are close in size to the maximal
representable number .Machine$double.xmax.
Also, it's been tweaked for very small ranges and when a boundary
is close (or equal) to zero; e.g., pretty(c(0,1e-317)) no longer
has negative numbers, currently still warning about a very small
range, and pretty(2^-(1024 - 2^-1/(c(24,10)))) is more accurate.
* The error message for not finding vignette files when weaving has
correct file sizes now. (Thanks to Sebastian Meyer's PR#18154.)
* dnbinom(20, <large>, 1) now correctly gives 0, and similar cases
are more accurate with underflow precaution. (Reported by
Francisco Vera Alcivar in PR#18072.)
(wen)
diff -r1.224 -r1.225 pkgsrc/math/R/Makefile
diff -r1.88 -r1.89 pkgsrc/math/R/distinfo
diff -r1.1 -r0 pkgsrc/math/R/patches/patch-src_main_printutils.c
--- pkgsrc/math/R/Makefile 2021/06/15 06:51:42 1.224
+++ pkgsrc/math/R/Makefile 2021/08/11 09:38:37 1.225
| @@ -1,17 +1,16 @@ | | | @@ -1,17 +1,16 @@ |
1 | # $NetBSD: Makefile,v 1.224 2021/06/15 06:51:42 thor Exp $ | | 1 | # $NetBSD: Makefile,v 1.225 2021/08/11 09:38:37 wen Exp $ |
2 | | | 2 | |
3 | DISTNAME= R-4.1.0 | | 3 | DISTNAME= R-4.1.1 |
4 | PKGREVISION= 1 | | | |
5 | CATEGORIES= math | | 4 | CATEGORIES= math |
6 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-4/} | | 5 | MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-4/} |
7 | | | 6 | |
8 | MAINTAINER= pkgsrc-users@NetBSD.org | | 7 | MAINTAINER= pkgsrc-users@NetBSD.org |
9 | HOMEPAGE= https://www.R-project.org/ | | 8 | HOMEPAGE= https://www.R-project.org/ |
10 | COMMENT= Statistical language for data analysis and graphics | | 9 | COMMENT= Statistical language for data analysis and graphics |
11 | LICENSE= gnu-gpl-v2 | | 10 | LICENSE= gnu-gpl-v2 |
12 | | | 11 | |
13 | USE_GCC_RUNTIME= yes | | 12 | USE_GCC_RUNTIME= yes |
14 | | | 13 | |
15 | BUILD_TARGET= all info | | 14 | BUILD_TARGET= all info |
16 | INSTALL_TARGET= install install-info | | 15 | INSTALL_TARGET= install install-info |
17 | TEST_TARGET= check | | 16 | TEST_TARGET= check |
--- pkgsrc/math/R/distinfo 2021/06/13 13:10:46 1.88
+++ pkgsrc/math/R/distinfo 2021/08/11 09:38:37 1.89
| @@ -1,11 +1,11 @@ | | | @@ -1,11 +1,11 @@ |
1 | $NetBSD: distinfo,v 1.88 2021/06/13 13:10:46 wen Exp $ | | 1 | $NetBSD: distinfo,v 1.89 2021/08/11 09:38:37 wen Exp $ |
2 | | | 2 | |
3 | SHA1 (R-4.1.0.tar.gz) = c84697f2a0a5b89ff75dfe10fcb87656cc68144c | | 3 | SHA1 (R-4.1.1.tar.gz) = a7c40a9bd7cb050a4fad6b7dba53e991e37e0fd1 |
4 | RMD160 (R-4.1.0.tar.gz) = fe7de80b43c678ed20fada00b4cad89d8df56d10 | | 4 | RMD160 (R-4.1.1.tar.gz) = d0eb885bb3f3da858e023b2983098e927af70aaa |
5 | SHA512 (R-4.1.0.tar.gz) = 41519bf06a1ebc2bb582e9a7c35d0e82e213312dec8147861a7f9b28ee750cd40dfbf02737602d05698641fcea6182b0da8131e83edacc358e98eca0a393b729 | | 5 | SHA512 (R-4.1.1.tar.gz) = 8eef82c0321f53a6a737bb641c4401626682fd01fa21e497ed2b8d6291d94ada47cee46b258bb3052f1097fc087c72982b2625c80420c8fb230ba8fcd962f254 |
6 | Size (R-4.1.0.tar.gz) = 33714683 bytes | | 6 | Size (R-4.1.1.tar.gz) = 33719965 bytes |
7 | SHA1 (patch-configure.ac) = 2732e3e0a39ee64ae4cba5c476f4754ecbd14942 | | 7 | SHA1 (patch-configure.ac) = 2732e3e0a39ee64ae4cba5c476f4754ecbd14942 |
8 | SHA1 (patch-m4_R.m4) = 704d5514e10adf0b5217bb71b06f44a612eca6e0 | | 8 | SHA1 (patch-m4_R.m4) = 704d5514e10adf0b5217bb71b06f44a612eca6e0 |
9 | SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe | | 9 | SHA1 (patch-src_library_stats_src_Makefile.in) = 4eb93292858392792c37a706399e2cef91821bbe |
10 | SHA1 (patch-src_main_character.c) = 842ae5d291f36f2beead4d32c1d41b18cbff878d | | 10 | SHA1 (patch-src_main_character.c) = 842ae5d291f36f2beead4d32c1d41b18cbff878d |
11 | SHA1 (patch-src_main_printutils.c) = ce8bafa2525a91eca3adc3d9a60724d145116ce1 | | 11 | SHA1 (patch-src_main_printutils.c) = ce8bafa2525a91eca3adc3d9a60724d145116ce1 |