Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] [WIP] R: update to 4.0.2.
@ 2020-08-07 10:40 luhann
  2020-08-07 12:24 ` [PR PATCH] [Updated] " luhann
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: luhann @ 2020-08-07 10:40 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 2509 bytes --]

There is a new pull request by luhann against master on the void-packages repository

https://github.com/luhann/void-packages R
https://github.com/void-linux/void-packages/pull/24126

[WIP] R: update to 4.0.2.
This is a major version update to R with some breaking changes for older R packages/scripts. Although the problems with most CRAN packages should be resolved as CRAN gave package authors a deadline to submit fixes. I've been using R 4.0 for a couple of months now and not experienced any problems.

## Breaking Changes

- Packages need to be (re-)installed under this version (4.0.2) of R.
- R now uses a stringsAsFactors = FALSE default, and hence by default no longer converts strings to factors in calls to data.frame() and read.table(). A large number of packages relied on the previous behaviour and so have needed/will need updating.

## Build Changes
- This version of R is built against the PCRE2 library for Perl-like regular expressions, if available.
- Enable memory profiling by building with --enable-memory-profiling flag, this is the default on all binaries provided by upstream, and several other distros.

## Dependencies to Build and Check

- [ ] R-cran-R6
- [ ] R-cran-RColorBrewer
- [ ] R-cran-Rcpp
- [ ] R-cran-assertthat
- [ ] R-cran-backports
- [ ] R-cran-callr
- [ ] R-cran-cli
- [ ] R-cran-colorspace
- [ ] R-cran-crayon
- [ ] R-cran-data.table
- [ ] R-cran-desc
- [ ] R-cran-dichromat
- [ ] R-cran-digest
- [ ] R-cran-ellipsis
- [ ] R-cran-evaluate
- [ ] R-cran-fansi
- [ ] R-cran-farver
- [ ] R-cran-generics
- [ ] R-cran-ggplot2
- [ ] R-cran-glue
- [ ] R-cran-gsubfn
- [ ] R-cran-gtable
- [ ] R-cran-isoband
- [ ] R-cran-labeling
- [ ] R-cran-lazyeval
- [ ] R-cran-lifecycle
- [ ] R-cran-lubridate
- [ ] R-cran-magrittr
- [ ] R-cran-munsell
- [ ] R-cran-nloptr
- [ ] R-cran-pillar
- [ ] R-cran-pkgbuild
- [ ] R-cran-pkgconfig
- [ ] R-cran-pkgload-
- [ ] R-cran-plyr
- [ ] R-cran-praise
- [ ] R-cran-prettyunits
- [ ] R-cran-processx
- [ ] R-cran-proto-
- [ ] R-cran-ps
- [ ] R-cran-reshape
- [ ] R-cran-rlang
- [ ] R-cran-rprojroot
- [ ] R-cran-rstudioapi
- [ ] R-cran-scales
- [ ] R-cran-stringi
- [ ] R-cran-stringr
- [ ] R-cran-testthat
- [ ] R-cran-tibble
- [ ] R-cran-utf8
- [ ] R-cran-vctrs
- [ ] R-cran-viridisLite
- [ ] R-cran-withr
- [ ] R-cran-zeallot
- [ ] R-cran-zoo
- [ ] emacs-ess
- [ ] rstudio


A patch file from https://github.com/void-linux/void-packages/pull/24126.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-R-24126.patch --]
[-- Type: text/x-diff, Size: 3859 bytes --]

From e5b9f55a9ee8a2aaaacd30290df21fd2d349b856 Mon Sep 17 00:00:00 2001
From: Luke Hannan <luke@lukehannan.com>
Date: Fri, 7 Aug 2020 12:27:09 +0200
Subject: [PATCH] R: update to 4.0.2.

---
 common/shlibs               |  2 +-
 srcpkgs/R/patches/ppc.patch | 33 ---------------------------------
 srcpkgs/R/template          | 11 ++++++-----
 3 files changed, 7 insertions(+), 39 deletions(-)
 delete mode 100644 srcpkgs/R/patches/ppc.patch

diff --git a/common/shlibs b/common/shlibs
index b10eae70847..4f1c94a8985 100644
--- a/common/shlibs
+++ b/common/shlibs
@@ -2682,7 +2682,7 @@ libsmpeg-0.4.so.0 smpeg-0.4.5_3
 libsmpeg2-2.0.so.0 smpeg2-2.0.0_1
 libedac.so.1 libedac-0.18_1
 libxlsreader.so.1 libxls-1.4.0_1
-libR.so R-3.3.0_2
+libR.so R-4.0.2_1
 libmarkdown.so.2 discount-2.2.0_3
 libkeystone.so.0 keystone-0.9_1
 libmate-slab.so.0 libmate-control-center-1.14.0_2
diff --git a/srcpkgs/R/patches/ppc.patch b/srcpkgs/R/patches/ppc.patch
deleted file mode 100644
index f8c6faba4a3..00000000000
--- a/srcpkgs/R/patches/ppc.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-From 1b588f18b1802de3370515181f9ba04a2dee3f42 Mon Sep 17 00:00:00 2001
-From: maechler <maechler@00db46b3-68df-0310-9c12-caf00c1e9a41>
-Date: Wed, 25 Mar 2020 09:06:23 +0000
-Subject: [PATCH] update (1 / LDBL_EPSILON) to all __powerpc__
-
-git-svn-id: https://svn.r-project.org/R/trunk@78054 00db46b3-68df-0310-9c12-caf00c1e9a41
----
- src/main/arithmetic.c | 5 +++--
- 1 file changed, 3 insertions(+), 2 deletions(-)
-
-diff --git a/src/main/arithmetic.c b/src/main/arithmetic.c
-index fc7496a8908..196431c7675 100644
---- src/main/arithmetic.c
-+++ src/main/arithmetic.c
-@@ -1,6 +1,6 @@
- /*
-  *  R : A Computer Language for Statistical Data Analysis
-- *  Copyright (C) 1998--2019 The R Core Team.
-+ *  Copyright (C) 1998--2020 The R Core Team.
-  *  Copyright (C) 2003--2019 The R Foundation
-  *  Copyright (C) 1995--1997 Robert Gentleman and Ross Ihaka
-  *
-@@ -178,8 +178,9 @@ void attribute_hidden InitArithmetic()
- 
- 
- #if HAVE_LONG_DOUBLE && (SIZEOF_LONG_DOUBLE > SIZEOF_DOUBLE)
--# ifdef __PPC64__
-+# ifdef __powerpc__
-  // PowerPC 64 (when gcc has -mlong-double-128) fails constant folding with LDOUBLE
-+ // Debian Bug#946836 shows it is needed also for 32-bit ppc, not just __PPC64__
- #  define q_1_eps (1 / LDBL_EPSILON)
- # else
- static LDOUBLE q_1_eps = 1 / LDBL_EPSILON;
diff --git a/srcpkgs/R/template b/srcpkgs/R/template
index 424154fad12..47bee4dabe0 100644
--- a/srcpkgs/R/template
+++ b/srcpkgs/R/template
@@ -1,15 +1,16 @@
 # Template file for 'R'
 pkgname=R
-version=3.6.3
-revision=2
+version=4.0.2
+revision=1
 build_style=gnu-configure
 configure_args="--docdir=/usr/share/doc/R rdocdir=/usr/share/doc/R
  --with-lapack --with-blas --enable-R-shlib --with-tcltk
+ --enable-memory-profiling
  LIBnn=lib"
 hostmakedepends="gcc-fortran pkg-config perl less which"
 makedepends="libgomp-devel readline-devel libXmu-devel libXt-devel
  libpng-devel libjpeg-turbo-devel tiff-devel cairo-devel icu-devel
- lapack-devel blas-devel zlib-devel bzip2-devel pcre-devel liblzma-devel
+ lapack-devel blas-devel zlib-devel bzip2-devel pcre2-devel liblzma-devel
  libcurl-devel tcl-devel tk-devel libxml2-devel"
 depends="xdg-utils less which"
 short_desc="System for statistical computation and graphics"
@@ -17,8 +18,8 @@ maintainer="Florian Wagner <florian@wagner-flo.net>"
 license="GPL-2.0-or-later"
 homepage="https://www.r-project.org/"
 changelog="https://cran.r-project.org/doc/manuals/r-release/NEWS.html"
-distfiles="https://cran.r-project.org/src/base/R-3/${pkgname}-${version}.tar.gz"
-checksum=89302990d8e8add536e12125ec591d6951022cf8475861b3690bc8bf1cefaa8f
+distfiles="https://cran.r-project.org/src/base/R-4/${pkgname}-${version}.tar.gz"
+checksum=d3bceab364da0876625e4097808b42512395fdf41292f4915ab1fd257c1bbe75
 nocross=yes
 shlib_provides="libR.so"
 

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2020-08-15 14:47 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-07 10:40 [PR PATCH] [WIP] R: update to 4.0.2 luhann
2020-08-07 12:24 ` [PR PATCH] [Updated] " luhann
2020-08-07 13:30 ` luhann
2020-08-07 16:15 ` luhann
2020-08-07 21:56 ` luhann
2020-08-09 12:34 ` luhann
2020-08-12 10:22 ` [PR PATCH] [Updated] " luhann
2020-08-14 20:14 ` jnbr
2020-08-14 21:19 ` [PR PATCH] [Updated] " luhann
2020-08-14 21:19 ` luhann
2020-08-15 14:47 ` jnbr
2020-08-15 14:47 ` [PR PATCH] [Closed]: " jnbr

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).