mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-06-27 09:04:06 +02:00
gnu: r-lintr: Disable two failing tests.
* gnu/packages/cran.scm (r-lintr)[arguments]: Skip unexpectedly succeeding tests in 'disable-bad-tests. Change-Id: I21cba6baff47d6505428d4ec017edf5fe8fca2f6
This commit is contained in:
@@ -38847,7 +38847,14 @@ provides tools to compute this metric.")
|
||||
(lambda _
|
||||
;; Two tests run code outside of testthat.
|
||||
(delete-file "tests/testthat/test-fixed_regex_linter.R")
|
||||
(delete-file "tests/testthat/test-pipe_continuation_linter.R")))
|
||||
(delete-file "tests/testthat/test-pipe_continuation_linter.R")
|
||||
;; These tests fail because of unexpected successes, but it's not
|
||||
;; clear what the problems are.
|
||||
(substitute* "tests/testthat/test-expect_lint.R"
|
||||
((".*single check.*" m)
|
||||
(string-append m "skip('skip');\n"))
|
||||
((".*multiple checks.*" m)
|
||||
(string-append m "skip('skip');\n")))))
|
||||
;; Needed by tests.
|
||||
(add-after 'unpack 'set-HOME
|
||||
(lambda _ (setenv "HOME" "/tmp"))))))
|
||||
|
||||
Reference in New Issue
Block a user