diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:36:14 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-10-21 14:44:41 +0200 |
commit | d882c235d9878b8f61376bd4b4f21be885489818 (patch) | |
tree | de5f184a8d255e06838acb2aea8fe19740575b9d /doc | |
parent | 577e75058066579bc66037c4ac08f3870520b79a (diff) | |
download | gnu-guix-d882c235d9878b8f61376bd4b4f21be885489818.tar gnu-guix-d882c235d9878b8f61376bd4b4f21be885489818.tar.gz |
import: cran: Add updater.
* guix/import/cran.scm (downloads->url, nodes->text): New procedures.
(cran-sxml->sexp): Use them. Remove equivalent local code.
(latest-release, cran-package?): New procedures.
(%cran-updater): New variable.
* guix/scripts/refresh.scm (%updaters): Add %CRAN-UPDATER.
* doc/guix.texi (Invoking guix refresh): Mention CRAN.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 6f26568a7a..99c10d8dc7 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -4270,14 +4270,17 @@ may be one of: @item gnu the updater for GNU packages; @item elpa -the updater for @uref{http://elpa.gnu.org/, ELPA} packages. +the updater for @uref{http://elpa.gnu.org/, ELPA} packages; +@item cran +the updater fro @uref{http://cran.r-project.org/, CRAN} packages. @end table For instance, the following commands only checks for updates of Emacs -packages hosted at @code{elpa.gnu.org}: +packages hosted at @code{elpa.gnu.org} and updates of CRAN packages: @example -$ guix refresh -t elpa +$ guix refresh -t elpa -t cran +gnu/packages/statistics.scm:819:13: r-testthat would be upgraded from 0.10.0 to 0.11.0 gnu/packages/emacs.scm:856:13: emacs-auctex would be upgraded from 11.88.6 to 11.88.9 @end example |