software/r-guix-install

git clone https://git.elephly.net/software/r-guix-install

Add URL for bug reports.

Ricardo WurmusThu Apr 07 09:33:49+0200 2022

06d3ed9

software/r-guix-install
namelast commitdate
.RbuildignoreAdd minimal R package files and directories.Thu Apr 07 09:23:44+0200 2022
.gitignoregit: Ignore generated files.Thu Apr 07 09:26:20+0200 2022
DESCRIPTIONAdd URL for bug reports.Thu Apr 07 09:33:49+0200 2022
NAMESPACEAdd minimal R package files and directories.Thu Apr 07 09:23:44+0200 2022
R/Fail early if Guix command does not exist.Thu Apr 07 09:26:01+0200 2022
READMEUpdate README.Thu Apr 07 09:23:44+0200 2022
inst/Fail early if Guix command does not exist.Thu Apr 07 09:26:01+0200 2022
man/Add minimal R package files and directories.Thu Apr 07 09:23:44+0200 2022
manifest.scmAdd Guix manifest.Thu Apr 07 09:23:44+0200 2022
tests/Add unit tests.Thu Apr 07 09:25:51+0200 2022

README

1
This R package provides a single procedure `guix.install`, which
2
allows R users to install R packages via Guix right from within their
3
running R session.
4
5
If the requested R package does not exist in Guix at this time, the
6
package and all its missing dependencies will be imported recursively
7
and the generated package definitions will be written to
8
`~/.Rguix/packages.scm`.  This record of imported packages can be used
9
later to reproduce the environment, and to add the packages in
10
question to a proper Guix channel (or Guix itself).
11
12
`guix.install` not only supports installing packages from CRAN, but
13
also from Bioconductor or even arbitrary git or mercurial
14
repositories, replacing the need for installation via devtools.
15
16
# Hacking
17
18
Use [Guix](https://guix.gnu.org) to enter a suitable development
19
environment and build the package:
20
21
```shell
22
guix shell
23
R CMD build .
24
R CMD check --as-cran guix.install_1.0.0.tar.gz
25
```
26
27