Skip to content

Commit

Permalink
feat: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nahid18 committed Oct 12, 2023
1 parent cec1165 commit 840c8d1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: easylift
Title: An R package to perform genomic liftover
Version: 0.99.97
Date: 2023-09-25
Version: 0.99.98
Date: 2023-10-12
Authors@R:
c(
person("Abdullah", "Al Nahid", email= "[email protected]", role = c("aut", "cre"), comment = c(ORCID = "0000-0002-4390-0768")),
Expand Down
4 changes: 2 additions & 2 deletions README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ gr |> easylift("hg38")
To cite package `easylift` in publications use:

Al Nahid A, Pagès H, Love M (2023). _easylift: An R package to perform
genomic liftover_. R package version 0.99.97,
genomic liftover_. R package version 0.99.98,
<https://github.com/nahid18/easylift>.


Expand All @@ -98,7 +98,7 @@ A BibTeX entry for LaTeX users is
title = {easylift: An R package to perform genomic liftover},
author = {Abdullah Al Nahid, Hervé Pagès, Michael Love},
year = {2023},
note = {R package version 0.99.97},
note = {R package version 0.99.98},
url = {https://github.com/nahid18/easylift},
}
```
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ gr |> easylift("hg38")
To cite package `easylift` in publications use:

Al Nahid A, Pagès H, Love M (2023). *easylift: An R package to perform
genomic liftover*. R package version 0.99.97,
genomic liftover*. R package version 0.99.98,
<https://github.com/nahid18/easylift>.

A BibTeX entry for LaTeX users is
Expand All @@ -93,7 +93,7 @@ A BibTeX entry for LaTeX users is
title = {easylift: An R package to perform genomic liftover},
author = {Abdullah Al Nahid, Hervé Pagès, Michael Love},
year = {2023},
note = {R package version 0.99.97},
note = {R package version 0.99.98},
url = {https://github.com/nahid18/easylift},
}

Expand Down
4 changes: 2 additions & 2 deletions tests/testthat/test-easylift.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,6 @@ test_that("easylift function tests with valid chain files", {

expect_no_error(easylift(gr2, "hg38"))
expect_no_error(gr2 |> easylift("hg38"))
expect_no_error(gr2 |> easylift("hg38", NULL, NULL))
expect_no_error(gr2 |> easylift("hg38", NULL))
})

test_that("easylift function tests with error cases", {
Expand Down Expand Up @@ -100,6 +98,8 @@ test_that("easylift succeeds with BiocFileCache", {
expect_error(easylift(gr, "hg38", bfc))
expect_error(gr |> easylift("hg38", bfc))
expect_no_error(easylift(gr, "hg38", NULL, bfc))
expect_no_error(gr |> easylift("hg38", NULL, NULL))
expect_no_error(gr |> easylift("hg38", NULL))

# Test success when bfc is provided
tryCatch({
Expand Down

0 comments on commit 840c8d1

Please sign in to comment.