mirror of
https://github.com/msberends/AMR.git
synced 2025-07-08 10:31:53 +02:00
(v1.1.0.9009) lose dependencies
This commit is contained in:
@ -188,5 +188,13 @@ test_that("first isolates work", {
|
||||
test_unknown$mo <- ifelse(test_unknown$mo == "UNKNOWN", NA, test_unknown$mo)
|
||||
expect_equal(sum(first_isolate(test_unknown)),
|
||||
1062)
|
||||
|
||||
|
||||
# shortcuts
|
||||
expect_identical(filter_first_isolate(example_isolates),
|
||||
subset(example_isolates, first_isolate(example_isolates)))
|
||||
ex <- example_isolates
|
||||
ex$keyab <- key_antibiotics(ex)
|
||||
expect_identical(filter_first_weighted_isolate(example_isolates),
|
||||
subset(example_isolates, first_isolate(ex)))
|
||||
|
||||
})
|
||||
|
Reference in New Issue
Block a user