mirror of
https://github.com/msberends/AMR.git
synced 2024-12-26 05:26:13 +01:00
equal != identical
This commit is contained in:
parent
d0bc05e5b1
commit
e548a7ad11
@ -25,11 +25,11 @@ test_that("rsi works", {
|
|||||||
|
|
||||||
library(dplyr)
|
library(dplyr)
|
||||||
# 40 rsi columns
|
# 40 rsi columns
|
||||||
expect_identical(septic_patients %>%
|
expect_equal(septic_patients %>%
|
||||||
mutate_at(vars(peni:rifa), as.character) %>%
|
mutate_at(vars(peni:rifa), as.character) %>%
|
||||||
lapply(is.rsi.eligible) %>%
|
lapply(is.rsi.eligible) %>%
|
||||||
as.logical() %>%
|
as.logical() %>%
|
||||||
sum(),
|
sum(),
|
||||||
40)
|
40)
|
||||||
|
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user