unit tests

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-02-18 14:56:06 +01:00
1 parent 8dcf101a9c
commit 8d902410f9
33 files changed
+73 -71

No files matched your search

+1 -1
View File
@@ -130,7 +130,7 @@ join_microorganisms <- function(type, x, by, suffix, ...) {
add_MO_lookup_to_AMR_env()
if (!is.data.frame(x)) {
if (pkg_is_available("tibble", also_load = FALSE)) {
if (pkg_is_available("tibble")) {
x <- import_fn("tibble", "tibble")(mo = x)
} else {
x <- data.frame(mo = x, stringsAsFactors = FALSE)