Closed statnmap closed 2 years ago
What about filling DESCRIPTION with the correct Bioconductor field ?
# Test bioconductor ?
attachment::find_remotes(installed.packages()[,1])
BiocManager::install("XVector")
packageDescription("XVector")
BiocManager::valid("XVector")
debugonce(extract_pkg_info)
find_remotes("BiocVersion")
find_remotes("BiocVersion")
$BiocVersion
local maybe ?
NA
car:
> packageDescription("XVector")$RemoteType
NULL
> packageDescription("XVector")$RemoteURL
NULL
> packageDescription("XVector")$RemoteHOST
NULL
It seems that all these writing are valid:
if (FALSE) {
install_bioc("SummarizedExperiment")
install_bioc("devel/SummarizedExperiment")
install_bioc("3.3/SummarizedExperiment")
install_bioc("SummarizedExperiment#abc123")
install_bioc("user:password@release/SummarizedExperiment")
install_bioc("user:password@devel/SummarizedExperiment")
install_bioc("user:password@SummarizedExperiment#abc123")
}
Let's focus only on the simplest one: install_bioc("SummarizedExperiment")
or install_bioc("3.3/SummarizedExperiment")
For now in
extract_pkg_info()
,if()
:https://github.com/ThinkR-open/attachment/blob/ab906f92d895048e6f60a7065ef7044d6f1e2098/R/att_to_description.R#L485
Check that this is correct.
What is desired (for examples) ?
DESCRIPTION