Package: r-bioc-tximeta / 1.24.0+dfsg-2

skip-test-with-invalid-json.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
Description: JSON format contains invalid character, skip for now
Author: Nilesh Patra <nilesh@debian.org>
Last-Update: 2021-09-19
--- a/tests/testthat/test_tximeta.R
+++ b/tests/testthat/test_tximeta.R
@@ -1,6 +1,7 @@
 context("tximeta")
 test_that("tximeta works as expected", {
 
+  testthat::skip("The json file contains an invalid character, skipping for now")
   dir <- system.file("extdata/salmon_dm", package="tximportData")
   files <- file.path(dir, "SRR1197474", "quant.sf") 
   coldata <- data.frame(files, names="SRR1197474", condition="A", stringsAsFactors=FALSE)
@@ -158,6 +159,7 @@
 
 test_that("tximeta can import alevin", {
 
+  testthat::skip("There is no alevin file present, skip")
   dir <- system.file("extdata", package="tximportData")
   samps <- list.files(file.path(dir, "alevin"))
   files <- file.path(dir,"alevin",samps[1],"alevin/quants_mat.gz")