From e81003fde8a2d9c188dc32643047b74b30d8ada8 Mon Sep 17 00:00:00 2001 From: Thierry Onkelinx Date: Mon, 19 Aug 2024 17:51:14 +0200 Subject: [PATCH] escapes quotes in inst/CITATION --- R/citation_meta_class.R | 1 + 1 file changed, 1 insertion(+) diff --git a/R/citation_meta_class.R b/R/citation_meta_class.R index 4f4145ac..fa888bd0 100644 --- a/R/citation_meta_class.R +++ b/R/citation_meta_class.R @@ -471,6 +471,7 @@ citation_r <- function(meta) { paste(collapse = ", ") |> sprintf(fmt = " author = c(%s)") -> authors_bibtex sprintf("%s%s", authors$fam2, authors$given) -> authors_plain + cit_meta$description <- gsub("\"", "\\\\\"", cit_meta$description) package_citation <- c( bibtype = "\"Manual\"", title = sprintf(