Skip to content

Commit

Permalink
update for new Repository field in BioC packages
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.r-project.org/R/trunk@86518 00db46b3-68df-0310-9c12-caf00c1e9a41
  • Loading branch information
smeyer committed May 3, 2024
1 parent cc7f6c1 commit c9fe937
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 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
Expand Down Expand Up @@ -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")) {
Expand Down

0 comments on commit c9fe937

Please sign in to comment.