guix.install-package {guix.install} | R Documentation |
guix.install: Install R Packages Reproducibly with Guix
Description
This 'R' package provides a single procedure guix.install(), which allows users to install 'R' packages via 'Guix' right from within their running 'R' session. If the requested 'R' package does not exist in 'Guix' at this time, the package and all its missing dependencies will be imported recursively and the generated package definitions will be written to ~/.Rguix/packages.scm. This record of imported packages can be used later to reproduce the environment, and to add the packages in question to a proper 'Guix' channel (or 'Guix' itself). guix.install() not only supports installing packages from CRAN, but also from Bioconductor or even arbitrary 'git' or 'mercurial' repositories, replacing the need for installation via 'devtools'.
Details
Index of help topics:
guix.install guix.install guix.install-package guix.install: Install R Packages Reproducibly with Guix
This package lets you install any R package through Guix from within a running R session. If a desired R package is not yet available in any of your Guix channels, this package will leverage the recursive package importing facilities that Guix provides and transparently import packages from CRAN, Bioconductor, or any Mercurial or Git repository before installing them with Guix.
This replaces the need for installers like devtools and exposes reproducible package management features through a familiar interface within R.
Author(s)
Ricardo Wurmus
Maintainer: Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de>
References
Courtès L., Wurmus R. (2015) Reproducible and User-Controlled Software Environments in HPC with Guix. In: Hunold S. et al. (eds) Euro-Par 2015: Parallel Processing Workshops. Euro-Par 2015. Lecture Notes in Computer Science, vol 9523. Springer, Cham. doi: 10.1007/978-3-319-27308-2_47
Examples
## Not run:
guix.install("methylKit", cacheFile=tempfile())
guix.install("methylKit", profile="/home/foo/custom/.guix-profile", cacheFile=tempfile())
guix.install("methylKit", guix="/gnu/remote/bin/guix", cacheFile=tempfile())
## End(Not run)