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
View File
@@ -563,6 +563,7 @@ print.antibiogram <- function(x, as_kable = !interactive(), italicise = TRUE, ..
meet_criteria(italicise, allow_class = "logical", has_length = 1)
if (isTRUE(as_kable) &&
pkg_is_available("knitr") &&
# be sure not to run kable in pkgdown for our website generation
!(missing(as_kable) && identical(Sys.getenv("IN_PKGDOWN"), "true"))) {
out <- knitr::kable(x, ...)