~ruther/guix-local

a4af63d388fedc10d3a3c4ea36028c22eac51831 — Ricardo Wurmus 3 months ago 3889496
gnu: r-bindr: Adjust for testthat compatibility.

* gnu/packages/cran.scm (r-bindr)[arguments]: Add phase
'testthat-compatibility.

Change-Id: I766680176275e31ef110150b270d29bec8ad8f22
1 files changed, 11 insertions(+), 0 deletions(-)

M gnu/packages/cran.scm
M gnu/packages/cran.scm => gnu/packages/cran.scm +11 -0
@@ 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")