(v2.1.1.9050) vctrs fix for sir, small documentation fixes

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2024-06-15 15:33:49 +02:00
1 parent 9bf7584d58
commit bdbf5198a2
15 files changed
+248 -165

No files matched your search

+3
View File
@@ -524,6 +524,9 @@ word_wrap <- function(...,
# otherwise, give a 'click to run' popup
parts[cmds & parts %unlike% "[.]"] <- font_url(url = paste0("ide:run:AMR::", parts[cmds & parts %unlike% "[.]"]),
txt = parts[cmds & parts %unlike% "[.]"])
# text starting with `?` must also lead to the help page
parts[parts %like% "^[?]"] <- font_url(url = paste0("ide:help:AMR::", gsub("()", "", gsub("^[?]", "", parts[parts %like% "^[?]"]), fixed = TRUE)),
txt = parts[parts %like% "^[?]"])
msg <- paste0(parts, collapse = "`")
}
msg <- gsub("`(.+?)`", font_grey_bg("\\1"), msg)