diff options
author | Peter Simons <simons@cryp.to> | 2015-06-16 12:58:58 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2015-06-17 23:19:56 +0200 |
commit | bb42c215e2a90c19e8c15e156976c004c4141f89 (patch) | |
tree | 09415d243f13218d7c00406420285127217095e4 /pkgs/development/r-modules/test-evaluation.nix | |
parent | 93a742fd28bb1dca4091478755b2f30e93d84d2e (diff) | |
download | nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar.gz nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar.bz2 nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar.lz nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar.xz nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.tar.zst nixlib-bb42c215e2a90c19e8c15e156976c004c4141f89.zip |
R: improve support for CRAN and Bioconductor package sets
- Update the instructions for re-generating each of the package set files. - Provide test-evaluation.nix expression to verify that the package sets evaluates. - Update list of known broken packages.
Diffstat (limited to 'pkgs/development/r-modules/test-evaluation.nix')
-rw-r--r-- | pkgs/development/r-modules/test-evaluation.nix | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/development/r-modules/test-evaluation.nix b/pkgs/development/r-modules/test-evaluation.nix new file mode 100644 index 000000000000..2ca0d42c6db4 --- /dev/null +++ b/pkgs/development/r-modules/test-evaluation.nix @@ -0,0 +1,21 @@ +# Run +# +# nix-build test-evaluation.nix --dry-run +# +# to test whether the R package set evaluates properly. + +let + + config = { + allowBroken = true; + allowUnfree = true; + }; + + inherit (import ../../.. { inherit config; }) pkgs; + + rWrapper = pkgs.rWrapper.override { + packages = pkgs.lib.filter pkgs.lib.isDerivation (pkgs.lib.attrValues pkgs.rPackages); + }; + +in + rWrapper |