guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch r-team updated: gnu: r-rcas: Add missing inputs


From: guix-commits
Subject: branch r-team updated: gnu: r-rcas: Add missing inputs
Date: Fri, 29 Nov 2024 16:43:27 -0500

This is an automated email from the git hooks/post-receive script.

rekado pushed a commit to branch r-team
in repository guix.

The following commit(s) were added to refs/heads/r-team by this push:
     new 05ecc9a5a2 gnu: r-rcas: Add missing inputs
05ecc9a5a2 is described below

commit 05ecc9a5a2aae1ffee553efdacafaa10a26d9228
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Fri Nov 29 22:41:41 2024 +0100

    gnu: r-rcas: Add missing inputs
    
    * gnu/packages/bioconductor.scm (r-rcas)[native-inputs]: Add r-biocmanager.
    [arguments]: Add phases 'skip-bad-tests and 'set-HOME.
    
    Change-Id: I952ae31347776dc35cf012aaa8146f38b375957a
---
 gnu/packages/bioconductor.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm
index 40d3b2853e..cef8721591 100644
--- a/gnu/packages/bioconductor.scm
+++ b/gnu/packages/bioconductor.scm
@@ -11776,6 +11776,21 @@ the graph algorithms contained in the Boost library.")
                 "0sg3ngb7jwh8gyhmmm7fkxn9ixj590j47rfcfdcnbbk9pwd9y07p"))))
     (properties `((upstream-name . "RCAS")))
     (build-system r-build-system)
+    (arguments
+     (list
+      #:phases
+      '(modify-phases %standard-phases
+         (add-after 'unpack 'set-HOME
+           (lambda _ (setenv "HOME" "/tmp")))
+         (add-after 'unpack 'skip-bad-tests
+           (lambda _
+             ;; These tests need Internet access.
+             (with-directory-excursion "tests/testthat"
+               (substitute* "test_database_functions.R"
+                 ((".*Testing createDB function.*" m)
+                  (string-append m "skip('guix')\n")))
+               (delete-file "test_report.R")
+               (delete-file "test_motif.R")))))))
     (inputs (list pandoc))
     (propagated-inputs
      (list r-biocgenerics
@@ -11806,7 +11821,7 @@ the graph algorithms contained in the Boost library.")
            r-seqlogo
            r-txdbmaker))
     (native-inputs
-     (list r-knitr r-testthat))
+     (list r-biocmanager r-knitr r-testthat))
     (synopsis "RNA-centric annotation system")
     (description
      "RCAS aims to be a standalone RNA-centric annotation system that provides



reply via email to

[Prev in Thread] Current Thread [Next in Thread]