From d65b9239804163b693cbfa4b774980f3b7d1fecd Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Mon, 19 Jul 2021 15:43:48 -0500 Subject: [PATCH] `write_bib()` only uses the first URL if multiple are found in a package (#2028) --- DESCRIPTION | 2 +- NEWS.md | 2 ++ R/citation.R | 4 ++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/DESCRIPTION b/DESCRIPTION index e94cbc227f..4fd333ba77 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,7 +1,7 @@ Package: knitr Type: Package Title: A General-Purpose Package for Dynamic Report Generation in R -Version: 1.33.7 +Version: 1.33.8 Authors@R: c( person("Yihui", "Xie", role = c("aut", "cre"), email = "xie@yihui.name", comment = c(ORCID = "0000-0003-0645-5666")), person("Abhraneel", "Sarma", role = "ctb"), diff --git a/NEWS.md b/NEWS.md index 5f22248a71..ed08c26400 100644 --- a/NEWS.md +++ b/NEWS.md @@ -10,6 +10,8 @@ - An error is now thrown when an inline code result is not coercible to character. This has always been the assumed behavior but it happens to be different in certain formats with unknown automatic coercion. This is now enforced to prevent any unexpected output. An inline code expression must evaluate to a character vector or an object coercible by `as.character()` (#2006). +- `write_bib()` only uses the first URL if multiple are found in a package (#2028). + ## MINOR CHANGES - The attribute `data-external="1"` will be added to `