--- Begin Message ---
Subject: |
R: do not build recommended packages |
Date: |
Tue, 14 Mar 2017 09:28:55 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
This relates to bug 25598 “R packages are not bit-reproducible”. R
itself does not build reproducibly. One of the reasons is that it
includes recommended packages that are built in a random temporary
directory. The build paths for each of these packages is then embedded
in the packages’ “paths.rds” files.
We don’t have this problem when building the packages with the
“r-build-system” like any other R package.
This patch set adds package expressions for each of the recommended
packages, disables building of recommended packages, and adds some of
these packages to those R packages that need them.
I’ve successfully rebuilt all R packages to make sure that these changes
don’t break anything.
I also have an unpolished patch to fix bug 25598, but it depends on this
patch set.
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#26095: R: do not build recommended packages |
Date: |
Fri, 17 Mar 2017 10:16:49 +0100 |
User-agent: |
mu4e 0.9.18; emacs 25.1.1 |
>> What do you think about having an "r" and
>> "r-without-recommended-packages" instead of
>> "r-with-recommended-packages" and "r", respectively?
[…]
> Alternatively, we could change the r-build-system to use “r-minimal” by
> default, rename “r” to “r-minimal” (both variable and package name), and
> then rename “r-with-recommended-packages” to just “r” (both variable and
> package name).
I went ahead and implemented this in a follow-up commit. (Doing this
all at once turned out to be a little too cluttered.) I’ve pushed this
to master with commit 2d7c4ae3ee83841ef827a160b0d23c1d10d2570d.
Thanks for the review and the discussion!
--
Ricardo
GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC
https://elephly.net
--- End Message ---