mirror of
https://codeberg.org/guix/guix.git
synced 2026-01-25 12:05:19 -06:00
gnu: r-operator-tools: Adjust for testthat compatibility.
* gnu/packages/cran.scm (r-operator-tools)[arguments]: Add phase 'testthat-compatibility. Change-Id: I6d25d3cf049a294f8da11a8fbcd159cc227ae0ab
This commit is contained in:
parent
7ef8abcf75
commit
fd626f1972
1 changed files with 9 additions and 0 deletions
|
|
@ -24102,6 +24102,15 @@ Files, Fine-tunes, Moderations, and legacy Engines endpoints.")
|
|||
"1v4dg7xhz24dnp0zxn815x1405ig64ibii6y40la1gvmzcc41dz5"))))
|
||||
(properties `((upstream-name . "operator.tools")))
|
||||
(build-system r-build-system)
|
||||
(arguments
|
||||
(list
|
||||
#:phases
|
||||
'(modify-phases %standard-phases
|
||||
;; This deprecated procedure has been removed in testthat.
|
||||
(add-after 'unpack 'testthat-compatibility
|
||||
(lambda _
|
||||
(substitute* "tests/testthat/test-operators.R"
|
||||
(("is_true\\(\\)") "expect_true")))))))
|
||||
(native-inputs (list r-testthat))
|
||||
(home-page "https://github.com/decisionpatterns/operator.tools")
|
||||
(synopsis "Utilities for working with R's operators")
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue