mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 05:50:48 +01:00
(v1.6.0.9023) new unit test flow
This commit is contained in:
1 parent
655b813e99
commit
aeea00881e
34 files changed
+408
-355
No files matched your search
@@ -57,9 +57,10 @@ test_that("looking up ab columns works", {
|
||||
|
||||
test_that("looking up ab columns works", {
|
||||
skip_on_cran()
|
||||
library(dplyr)
|
||||
|
||||
# we rely on "grouped_tbl" being a class of grouped tibbles, so:
|
||||
expect_true(is_null_or_grouped_tbl(example_isolates %>% group_by(hospital_id)))
|
||||
|
||||
# we rely on "grouped_tbl" being a class of grouped tibbles, so implement a test that checks for this:
|
||||
if (require("dplyr")) {
|
||||
expect_true(is_null_or_grouped_tbl(example_isolates %>% group_by(hospital_id)))
|
||||
}
|
||||
|
||||
})
|
||||
Reference in new issue
Block a user