Skip to content

Commit

Permalink
rm unit test for .is_pkg_installed
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Nov 22, 2024
1 parent d8aac69 commit ec97839
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/testthat/test-epiparameter_db.R
Original file line number Diff line number Diff line change
Expand Up @@ -212,11 +212,6 @@ test_that(".read_epiparameter_db works as expected", {
expect_true(all(vapply(db, is_epiparameter, FUN.VALUE = logical(1))))
})

test_that(".is_pkg_installed works as expected", {
expect_true(.is_pkg_installed(package = "distributional"))
expect_false(.is_pkg_installed(package = "jsonlit"))
})

test_that("as.data.frame works for <multi_epiparameter>", {
# message about missing citation suppressed
db <- suppressMessages(epiparameter_db())
Expand Down

0 comments on commit ec97839

Please sign in to comment.