Skip to content

Commit

Permalink
fix: skip reading ftp file from Ensembl
Browse files Browse the repository at this point in the history
  • Loading branch information
jorainer committed Sep 21, 2023
1 parent 75014d5 commit 9243d0e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion inst/NEWS
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Changes in version 2.25.1

- Fix unit test avoiding to read ftp file twice.
- Skip reading gtf file from Ensembl ftp server in unit test.

Changes in version 2.23.2

Expand Down
7 changes: 0 additions & 7 deletions tests/testthat/test_functions-create-EnsDb.R
Original file line number Diff line number Diff line change
Expand Up @@ -250,11 +250,4 @@ test_that(".read_lines_compressed works", {

res_2 <- ensembldb:::.read_lines_compressed(fl, n = 10)
expect_equal(res_2[1L], "#!genome-build ASM96941v1")

fl <- paste0(
"ftp://ftp.ensembl.org/pub/release-102/gtf/",
"homo_sapiens/Homo_sapiens.GRCh38.102.gtf.gz"
)
res_2 <- ensembldb:::.read_lines_compressed(fl, n = 2)
expect_equal(res_2[1L], "#!genome-build GRCh38.p13")
})

0 comments on commit 9243d0e

Please sign in to comment.