mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-29 04:01:28 -06:00
gnu: r-bindr: Adjust for testthat compatibility.
* gnu/packages/cran.scm (r-bindr)[arguments]: Add phase 'testthat-compatibility. Change-Id: I766680176275e31ef110150b270d29bec8ad8f22
This commit is contained in:
parent
38894961c2
commit
a4af63d388
1 changed files with 11 additions and 0 deletions
|
|
@ -16093,6 +16093,17 @@ functions subject to simple constraints.")
|
|||
(base32
|
||||
"16161y28wg40pwlvmildcgcwn5wx6hiyk8r79sd0r31w31h6q7sj"))))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
(add-after 'unpack 'testthat-compatibility
|
||||
(lambda _
|
||||
;; This test uses the procedure "with_mock", which has been
|
||||
;; removed from testthat.
|
||||
(substitute* "tests/testthat/test-error.R"
|
||||
((".*non-native encoding causes warning.*" m)
|
||||
(string-append m "skip('skip');\n"))))))))
|
||||
(native-inputs (list r-testthat))
|
||||
(home-page "https://github.com/krlmlr/bindr")
|
||||
(synopsis "Parametrized active bindings")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue