reftbl in plots, speedup for as.sir() and mo_validate

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2023-07-10 16:43:46 +02:00
1 parent 70c601ca11
commit a4e2e25e3f
14 files changed
+128 -65

No files matched your search

+6
View File
@@ -628,6 +628,12 @@ pillar_shaft.mo <- function(x, ...) {
)
}
# add the names to the bugs as mouse-over!
if (tryCatch(isTRUE(getExportedValue("ansi_has_hyperlink_support", ns = asNamespace("cli"))()), error = function(e) FALSE)) {
out[!x %in% c("UNKNOWN", NA)] <- font_url(url = mo_name(x[!x %in% c("UNKNOWN", NA)], language = NULL, keep_synonyms = TRUE),
txt = out[!x %in% c("UNKNOWN", NA)])
}
# make it always fit exactly
max_char <- max(nchar(x))
if (is.na(max_char)) {