File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 11# File src/library/tools/R/CRANtools.R
22# Part of the R package, https://www.R-project.org
33#
4- # Copyright (C) 2014-2022 The R Core Team
4+ # Copyright (C) 2014-2025 The R Core Team
55#
66# This program is free software; you can redistribute it and/or modify
77# it under the terms of the GNU General Public License as published by
@@ -782,3 +782,23 @@ function(remap = TRUE)
782782 }
783783 db
784784}
785+
786+ .get_BioC_repository_URL <-
787+ function (which = " BioCsoft" )
788+ {
789+ which <- match.arg(which )
790+ repos <- getOption(" repos" )
791+ if (! is.null(repos ) && ! is.na(u <- repos [which ]))
792+ return (u )
793+ utils ::: .get_repositories()[which , " URL" ]
794+ }
795+
796+ BioC_aliases_db <-
797+ function ()
798+ read_CRAN_object(.get_BioC_repository_URL(),
799+ " src/contrib/Meta/aliases.rds" )
800+
801+ BioC_rdxrefs_db <-
802+ function ()
803+ read_CRAN_object(.get_BioC_repository_URL(),
804+ " src/contrib/Meta/rdxrefs.rds" )
You can’t perform that action at this time.
0 commit comments