gnu: r-with-tests: Update to 4.0.4.

* gnu/packages/statistics.scm (r-with-tests): Update to 4.0.4.
[arguments]: Update phase "build-reproducibly".
This commit is contained in:
Ricardo Wurmus 2021-02-15 17:05:08 +01:00
parent 9904a15a4c
commit ca372a4945
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -184,7 +184,7 @@ (define-public libxls
(define r-with-tests (define r-with-tests
(package (package
(name "r-with-tests") (name "r-with-tests")
(version "4.0.3") (version "4.0.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://cran/src/base/R-" (uri (string-append "mirror://cran/src/base/R-"
@ -192,7 +192,7 @@ (define r-with-tests
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"03cypg2qf7v9mq9mr9alz9w5y9m5kdgwbc97bp26pyymg253m609")))) "0bl098xcv8v316kqnf43v6gb4kcsv31ydqfm1f7qr824jzb2fgsj"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:disallowed-references (,tzdata-for-tests) `(#:disallowed-references (,tzdata-for-tests)
@ -272,12 +272,11 @@ (define r-with-tests
;; The "References" section of this file when converted to ;; The "References" section of this file when converted to
;; package.rds is sometimes stored with a newline, sometimes with ;; package.rds is sometimes stored with a newline, sometimes with
;; a space. We avoid this problem by adding characters to break ;; a space. We avoid this problem by removing the line break
;; up the series of line break and spaces that is suspected to be ;; that is suspected to be the culprit.
;; the culprit.
(substitute* "src/library/methods/DESCRIPTION.in" (substitute* "src/library/methods/DESCRIPTION.in"
((" ``Software") (("\\(2008\\)\n") "(2008) ")
" -- ``Software")) ((" ``Software") "``Software"))
#t)) #t))
(add-before 'build 'set-locales (add-before 'build 'set-locales
(lambda _ (lambda _