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