mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 00:02:38 +02:00
(v1.6.0.9047) filter_ab_class() fixes
This commit is contained in:
@ -23,7 +23,7 @@
|
||||
# how to conduct AMR data analysis: https://msberends.github.io/AMR/ #
|
||||
# ==================================================================== #
|
||||
|
||||
if (as.double(R.Version()$major) + (as.double(R.Version()$minor) / 10) >= 3.2) {
|
||||
if (current_R_older_than(3.2)) {
|
||||
# antibiotic class selectors require at least R-3.2
|
||||
expect_true(ncol(example_isolates[, aminoglycosides(), drop = FALSE]) < ncol(example_isolates))
|
||||
expect_true(ncol(example_isolates[, betalactams(), drop = FALSE]) < ncol(example_isolates))
|
||||
|
Reference in New Issue
Block a user