fix for R < 3.4

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2022-12-30 12:57:27 +01:00
1 parent 1db74e86cd
commit e4ea96cbf9
8 files changed
+25 -24

No files matched your search

+1 -1
View File
@@ -230,7 +230,7 @@ translate_into_language <- function(from,
any_form_in_patterns <- tryCatch(
any(from_unique %like% paste0("(", paste(gsub(" +\\(.*", "", df_trans$pattern), collapse = "|"), ")")),
error = function(e) {
warning_("Translation not possible. Please open an issue on GitHub (https://github.com/msberends/AMR/issues).")
warning_("Translation not possible. Please create an issue at ", font_url("https://github.com/msberends/AMR/issues"), ". Many thanks!")
return(FALSE)
}
)