1
0
mirror of https://github.com/msberends/AMR.git synced 2025-11-05 09:45:31 +01:00

complexes

This commit is contained in:
2022-11-17 15:23:29 +01:00
parent f6862a139d
commit 05d536ebb7
7 changed files with 23 additions and 6 deletions

View File

@@ -81,6 +81,12 @@ if (AMR:::pkg_is_available("dplyr", min_version = "1.0.0")) {
expect_equal(sum(is.rsi(example_isolates)), 40)
expect_stdout(print(tibble(ab = as.rsi("S"))))
expect_true(example_isolates %>%
select(AMC, MEM) %>%
mutate(MEM = as.rsi(ifelse(AMC == "S", "S", MEM))) %>%
pull(MEM) %>%
is.rsi())
}
if (AMR:::pkg_is_available("skimr", min_version = "2.0.0")) {
expect_inherits(