From e2561d2ec8de266d242175d84a7cf2b756d9da9b Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Thu, 28 Nov 2024 11:29:40 +0100 Subject: gnu: r-gchain: Add missing inputs. * gnu/packages/bioinformatics.scm (r-gchain)[native-inputs]: Add r-pwalign and r-testthat. [arguments]: Add phase 'skip-bad-tests. Change-Id: Ia11c6e50e0d2886762ec551df3e5d73ef98547f8 --- gnu/packages/bioinformatics.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu/packages/bioinformatics.scm') diff --git a/gnu/packages/bioinformatics.scm b/gnu/packages/bioinformatics.scm index 5f46b9d32e..20be0acf97 100644 --- a/gnu/packages/bioinformatics.scm +++ b/gnu/packages/bioinformatics.scm @@ -12133,6 +12133,26 @@ file formats, and ffTrack objects in multi-track panels.") "105wgi5w2fhwq1grsvj6zjigwg0sny3z7zr577q8ki3qffjwdkj0")))) (properties `((upstream-name . "gChain"))) (build-system r-build-system) + (arguments + (list + #:phases + '(modify-phases %standard-phases + (add-after 'unpack 'skip-bad-tests + (lambda _ + (substitute* "tests/testthat/test_gChain.R" + ;; C stack usage 7973568 is too close to the limit + ((".*'testing lift\\(\\) works'.*" m) + (string-append m "skip('guix')")) + ;; C stack usage 7973568 is too close to the limit + ((".*'testing \"\\*\" works'.*" m) + (string-append m "skip('guix')")) + ;; Accuracy problem + ((".*'testing cgChain\\(\\) works'.*" m) + (string-append m "skip('guix')")) + ;; unable to find an inherited method for function ‘strand<-’ + ;; for signature ‘x = "GRangesList", value = "character"’ + ((".*'testing permute\\(\\) works'.*" m) + (string-append m "skip('guix')")))))))) (propagated-inputs (list r-bamutils r-biostrings @@ -12143,6 +12163,7 @@ file formats, and ffTrack objects in multi-track panels.") r-gutils r-matrix r-rtracklayer)) + (native-inputs (list r-pwalign r-testthat)) (home-page "https://github.com/mskilab/gChain/") (synopsis "Additional capabilities and speed for GenomicRanges operations") (description -- cgit v1.2.3