import: cran: Return multiple values for unknown packages.
Partly fixes <https://bugs.gnu.org/44115>. * guix/import/pypi.scm (cran->guix-package): Return 'values'. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
1fe81b349c
commit
7229b0e858
@ -4,6 +4,7 @@
|
||||
;;; Copyright © 2017 Mathieu Othacehe <m.othacehe@gmail.com>
|
||||
;;; Copyright © 2020 Martin Becze <mjbecze@riseup.net>
|
||||
;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
|
||||
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
@ -606,9 +607,7 @@ s-expression corresponding to that package, or #f on failure."
|
||||
;; Retry import from CRAN
|
||||
(cran->guix-package package-name #:repo 'cran))
|
||||
(else
|
||||
(raise (condition
|
||||
(&message
|
||||
(message "couldn't find meta-data for R package")))))))))))
|
||||
(values #f '()))))))))
|
||||
|
||||
(define* (cran-recursive-import package-name #:key (repo 'cran) version)
|
||||
(recursive-import package-name
|
||||
|
Loading…
Reference in New Issue
Block a user