mirror of
https://github.com/msberends/AMR.git
synced 2025-07-09 18:22:02 +02:00
unit tests
This commit is contained in:
@ -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, ...)
|
||||
|
Reference in New Issue
Block a user