diff options
author | Ricardo Wurmus <rekado@elephly.net> | 2023-04-28 13:35:45 +0200 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2023-04-29 20:09:30 +0200 |
commit | 921ee8789d2445ed4618c35436ffcc9b7f450f5d (patch) | |
tree | c11a5360e3a952363ded2251fb53e7bfedb1ac6c | |
parent | ec52655ce60d67a0e87d4b9c495c107f1c0a3be1 (diff) |
gnu: r-with-tests: Update to 4.3.0.
* gnu/packages/statistics.scm (r-with-tests): Update to 4.3.0.
[arguments]: Move 'set-timezone before 'configure.
-rw-r--r-- | gnu/packages/statistics.scm | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm index e1cdd6b850..b868a511f7 100644 --- a/gnu/packages/statistics.scm +++ b/gnu/packages/statistics.scm @@ -210,7 +210,7 @@ This package also provides @command{xls2csv} to export Excel files to CSV.") (define r-with-tests (package (name "r-with-tests") - (version "4.2.3") + (version "4.3.0") (source (origin (method url-fetch) (uri (string-append "mirror://cran/src/base/R-" @@ -218,7 +218,7 @@ This package also provides @command{xls2csv} to export Excel files to CSV.") version ".tar.gz")) (sha256 (base32 - "0x702sargcw27gy3nc0bwpfayi2lzak6c0ixq3i19qrvsjkakr2m")))) + "02d6lrb0008wr9ikcas0h5xrk7i074ddwzzp4083czgjdj5w9p25")))) (build-system gnu-build-system) (arguments `(#:disallowed-references (,tzdata-for-tests) @@ -327,10 +327,11 @@ as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\ ;; Set default pager to "cat", because otherwise it is "false", ;; making "help()" print nothing at all. (lambda _ (setenv "PAGER" "cat"))) - (add-before 'check 'set-timezone + (add-before 'configure 'set-timezone ;; Some tests require the timezone to be set. However, the ;; timezone may not just be "UTC", or else a brittle regression ;; test in reg-tests-1d will fail. + ;; We also need TZ during the configure step. (lambda* (#:key inputs #:allow-other-keys) (setenv "TZ" "UTC+1") (setenv "TZDIR" |