styled, unit test fix

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-08-28 10:31:50 +02:00
1 parent 4cb1db4554
commit 4d050aef7c
147 files changed
+10897 -8169

No files matched your search

+7 -9
View File
@@ -177,22 +177,20 @@ if (require("dplyr")) {
# filter on first isolates using dplyr:
example_isolates \%>\%
filter(first_isolate())
}
if (require("dplyr")) {
# short-hand version:
example_isolates \%>\%
filter_first_isolate(info = FALSE)
}
if (require("dplyr")) {
# flag the first isolates per group:
example_isolates \%>\%
group_by(ward) \%>\%
mutate(first = first_isolate()) \%>\%
select(ward, date, patient, mo, first)
# flag the first isolates per group:
example_isolates \%>\%
group_by(ward) \%>\%
mutate(first = first_isolate()) \%>\%
select(ward, date, patient, mo, first)
}
}
}