From c9fe937348401c7ba9b1fb359a98a44b16ceb93e Mon Sep 17 00:00:00 2001 From: smeyer Date: Fri, 3 May 2024 21:44:54 +0000 Subject: [PATCH] update for new Repository field in BioC packages git-svn-id: https://svn.r-project.org/R/trunk@86518 00db46b3-68df-0310-9c12-caf00c1e9a41 --- src/library/utils/R/citation.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/library/utils/R/citation.R b/src/library/utils/R/citation.R index 0ebfd74b5a5..c879ab27435 100644 --- a/src/library/utils/R/citation.R +++ b/src/library/utils/R/citation.R @@ -1,7 +1,7 @@ # File src/library/utils/R/citation.R # Part of the R package, https://www.R-project.org # -# Copyright (C) 1995-2023 The R Core Team +# Copyright (C) 1995-2024 The R Core Team # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -1401,8 +1401,8 @@ function(package = "base", lib.loc = NULL, auto = NULL) z$note <- paste(z$note, rfr, sep = "/r") } - if((is.null(meta$Repository) || - identical(meta$Repository, "Bioconductor")) && + if((is.null(meta$Repository) || # older BioC releases + startsWith(meta$Repository, "Bioconductor")) && # "Bioconductor 3.19" !is.null(meta$git_url) && startsWith(meta$git_url, "https://git.bioconductor.org/packages")) {