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
This commit is contained in:
Ricardo Wurmus 2024-11-26 18:08:51 +01:00
parent 7e9aa79900
commit 03d26034e3
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -20801,9 +20801,19 @@ (define-public r-sessioninfo
(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