1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-25 18:06:12 +01:00

equal != identical

This commit is contained in:
dr. M.S. (Matthijs) Berends 2018-11-02 15:04:48 +01:00
parent d0bc05e5b1
commit e548a7ad11

View File

@ -25,11 +25,11 @@ test_that("rsi works", {
library(dplyr)
# 40 rsi columns
expect_identical(septic_patients %>%
mutate_at(vars(peni:rifa), as.character) %>%
lapply(is.rsi.eligible) %>%
as.logical() %>%
sum(),
40)
expect_equal(septic_patients %>%
mutate_at(vars(peni:rifa), as.character) %>%
lapply(is.rsi.eligible) %>%
as.logical() %>%
sum(),
40)
})