Skip to content

Commit

Permalink
Skip running tests which require download if offline
Browse files Browse the repository at this point in the history
  • Loading branch information
HDash committed Aug 10, 2024
1 parent 9971cce commit ee2e9d2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Type: Package
Package: MotifPeeker
Title: Benchmarking Epigenomic Profiling Methods Using Motif Enrichment
Version: 0.99.2
Version: 0.99.3
Authors@R: c(
person(given = "Hiranyamaya",
family = "Dash",
Expand Down
1 change: 1 addition & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

* Wrap certain examples under `\donttest{}` to reduce R CMD CHECK runtime.
* [GitHub] Add `CODECOV_TOKEN` secret to `rworkflows`.
* Skip running tests which require download if offline.


# MotifPeeker 0.99.2
Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-check_ENCODE.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_if_offline()

test_that("check_ENCODE works", {
expect_equal(check_ENCODE("/a/path"), "/a/path")

Expand Down
2 changes: 2 additions & 0 deletions tests/testthat/test-check_JASPAR.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
skip_if_offline()

test_that("check_JASPAR works", {
expect_equal(check_JASPAR("/a/path.jaspar"), "/a/path.jaspar")

Expand Down

0 comments on commit ee2e9d2

Please sign in to comment.