1
0
mirror of https://github.com/msberends/AMR.git synced 2025-09-03 20:49:43 +02:00

(v1.1.0.9000) CLSI as.rsi() fix, better vctrs support, new CI

This commit is contained in:
2020-04-29 14:33:44 +02:00
parent e0f4c93e82
commit b040185269
35 changed files with 938 additions and 384 deletions

View File

@@ -37,7 +37,7 @@ test_that("EUCAST rules work", {
expect_error(eucast_rules(data.frame(a = "test")))
expect_error(eucast_rules(data.frame(mo = "test"), rules = "invalid rules set"))
expect_warning(eucast_rules(data.frame(mo = "Escherichia coli", vancomycin = "S")))
expect_warning(eucast_rules(data.frame(mo = "Escherichia coli", vancomycin = "S", stringsAsFactors = TRUE)))
expect_identical(colnames(example_isolates),
colnames(suppressWarnings(eucast_rules(example_isolates))))