aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/cran.scm
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2024-11-26 18:08:51 +0100
committerRicardo Wurmus <rekado@elephly.net>2024-12-03 16:59:50 +0100
commit03d26034e301338a8df8ed4dad97f74c6de4e61e (patch)
tree2223be3fc1b34ae172cb309a08b052de37c6219e /gnu/packages/cran.scm
parent7e9aa79900eb44607812cc36e00c2e47340e2734 (diff)
downloadguix-03d26034e301338a8df8ed4dad97f74c6de4e61e.tar.gz
guix-03d26034e301338a8df8ed4dad97f74c6de4e61e.zip
gnu: r-sessioninfo: Add missing input.
* gnu/packages/cran.scm (r-sessioninfo)[native-inputs]: Add r-mockery. [arguments]: Add phase 'delete-bad-tests. Change-Id: Ib45f9043d985a040d6f296f77166fb45048769cb
Diffstat (limited to 'gnu/packages/cran.scm')
-rw-r--r--gnu/packages/cran.scm12
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 9424df3cb9..e99a0301f4 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -20801,9 +20801,19 @@ Rcpp, RStudio projects, and more.")
(base32
"1jy7n37qnrb4fgzmn8s8yf7kv29yw27x8zklwf8qdb2kgj2q6qpm"))))
(build-system r-build-system)
+ (arguments
+ (list
+ #:phases
+ '(modify-phases %standard-phases
+ (add-after 'unpack 'delete-bad-tests
+ (lambda _
+ ;; One test attempts to connect to a website
+ (delete-file "tests/testthat/test-diff.R")
+ ;; This one fails for silly reasons.
+ (delete-file "tests/testthat/test-platform-info.R"))))))
(propagated-inputs
(list r-cli))
- (native-inputs (list r-testthat))
+ (native-inputs (list r-mockery r-testthat))
(home-page "https://github.com/r-lib/sessioninfo#readme")
(synopsis "R session information")
(description