File: Fix_autopkgtest.patch

package info (click to toggle)
r-bioc-ensembldb 2.22.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 2,780 kB
  • sloc: perl: 351; makefile: 5; sh: 3
file content (13 lines) | stat: -rw-r--r-- 320 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
Description: Skip tests if required packages are not yet available in Debian.
Forwarded: TODO
Author: Dylan Aïssi

--- a/tests/testthat.R
+++ b/tests/testthat.R
@@ -1,5 +1,6 @@
 library(testthat)
 library(ensembldb)
+skip_if_not_installed("EnsDb.Hsapiens.v86")
 library(EnsDb.Hsapiens.v86)
 edb <- EnsDb.Hsapiens.v86