From 312b5e588025e6544730a0d0549ffbe30fe161c8 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Wed, 27 Nov 2024 14:58:46 +0100 Subject: [PATCH] gnu: r-annotationhubdata: Delete bad tests. * gnu/packages/bioconductor.scm (r-annotationhubdata)[arguments]: Add phase 'delete-bad-tests. Change-Id: Id14228ace239fca4524d92bd09a9298c556b9399 --- gnu/packages/bioconductor.scm | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gnu/packages/bioconductor.scm b/gnu/packages/bioconductor.scm index a88e6dcf14..2d3cf7b323 100644 --- a/gnu/packages/bioconductor.scm +++ b/gnu/packages/bioconductor.scm @@ -4260,6 +4260,12 @@ (define-public r-annotationhubdata (list #:phases '(modify-phases %standard-phases + (add-after 'unpack 'delete-bad-tests + (lambda _ + ;; These tests require internet access. + (for-each delete-file + '("inst/unitTests/test_recipe.R" + "inst/unitTests/test_webAccessFunctions.R")))) (add-before 'install 'set-home (lambda _ (setenv "HOME" "/tmp")))))) (propagated-inputs