(v3.0.0.9027) skimr update and as.ab warning - fixes #234, fixes #232

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2025-09-10 13:32:52 +02:00
1 parent d5a568318b
commit 4d7c4ca52c
13 files changed
+92 -58

No files matched your search

+8
View File
@@ -321,4 +321,12 @@ test_that("test-mo.R", {
if (AMR:::pkg_is_available("cleaner")) {
expect_inherits(cleaner::freq(example_isolates$mo), "freq")
}
# skimr
if (AMR:::pkg_is_available("skimr", min_version = "2.0.0", also_load = TRUE)) {
expect_named(
skim(example_isolates$mo),
c("skim_type", "skim_variable", "n_missing", "complete_rate", "mo.n_unique", "mo.gram_negative", "mo.gram_positive", "mo.yeast", "mo.top_genus", "mo.top_species")
)
}
})