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

* gnu/packages/statistics.scm (r-with-tests): Update to 4.2.2.
[arguments]: Patch DESCRIPTION file of "tools" package to avoid
non-deterministic line break.
This commit is contained in:
Ricardo Wurmus 2022-11-22 21:42:20 +01:00
parent ffe149ccc5
commit eeeca2341d
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -206,7 +206,7 @@ (define-public libxls
(define r-with-tests
(package
(name "r-with-tests")
(version "4.2.1")
(version "4.2.2")
(source (origin
(method url-fetch)
(uri (string-append "mirror://cran/src/base/R-"
@ -214,7 +214,7 @@ (define r-with-tests
version ".tar.gz"))
(sha256
(base32
"0gv4di1x835i4nsy21vqw66c0blmmmvyjkixc5a8x117dm4dnljd"))))
"1x9xjl6fyzs8r72zigirp905ki50wzyw9rxf7iqsbbsixi12pxhg"))))
(build-system gnu-build-system)
(arguments
`(#:disallowed-references (,tzdata-for-tests)
@ -310,7 +310,11 @@ (define r-with-tests
(("\\(2008\\)\n") "(2008) ")
((" ``Software") "``Software")
(("Data Analysis:.") "Data Analysis:\n")
(("Programming with R") " Programming with R"))))
(("Programming with R") " Programming with R"))
(substitute* "src/library/tools/DESCRIPTION.in"
(("codetools, methods, xml2, curl, commonmark, knitr, xfun, mathjaxr")
"codetools, methods, xml2, curl, commonmark,
knitr, xfun, mathjaxr"))))
(add-before 'build 'set-locales
(lambda _
(setlocale LC_ALL "C")