mirror of
https://github.com/msberends/AMR.git
synced 2026-11-16 03:00:48 +01:00
reftbl in plots, speedup for as.sir() and mo_validate
This commit is contained in:
1 parent
70c601ca11
commit
a4e2e25e3f
14 files changed
+128
-65
No files matched your search
@@ -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)) {
|
||||
|
||||
Reference in new issue
Block a user