Skip to content

Commit

Permalink
Merge pull request #20 from r-dbi/f-dbitest
Browse files Browse the repository at this point in the history
test: Only run if DBItest is installed
  • Loading branch information
aviator-app[bot] authored Nov 5, 2023
2 parents 5484c7e + 336bbad commit ba11b5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/test-DBItest.R
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
if (identical(Sys.getenv("NOT_CRAN"), "true") && packageVersion("DBItest") >= "1.7.2") {
if (requireNamespace("DBItest", quietly = TRUE) && identical(Sys.getenv("NOT_CRAN"), "true") && packageVersion("DBItest") >= "1.7.2") {
DBItest::test_all()
}

0 comments on commit ba11b5b

Please sign in to comment.