From d882c235d9878b8f61376bd4b4f21be885489818 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Wed, 21 Oct 2015 14:36:14 +0200 Subject: 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. --- doc/guix.texi | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3