Open kevinushey opened 1 year ago
remotes installs everything from the Bioc git repo, which is not something we want to do. But we could support some extra stuff. TBH I am not even sure what some of these mean:
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")
E.g. what is SummarizedExperiment#abc123
?
E.g. what is SummarizedExperiment#abc123
I think that's for installing from a specific pull request? But I don't understand why those would have letters rather than numbers; maybe just an issue in the documentation?
I don't think the Bioc git repo has pull requests. It is not a GH repo.
pak (devel) can now use git repos as package sources, so this could be simple to implement, but seemingly the bioc git repo only supports version 1 of the git protocol, which pak does not support:
❯ pkgdepends:::git_download_repo("https://git.bioconductor.org/packages/limma.git", "HEAD")
Error in "async_git_list_refs_v2_process_1(res, url, prefixes)" :
! Only git protocol version 2 is supported.
ℹ <https://git.bioconductor.org/packages/limma.git> seems to support version 1 only.
Anyway, installing various branches from the bioc git repo seems to be a pretty minor use case to me, but hopefully we can at least add support for versioned bioc packages soon.
Thanks :-)
pak supports version 1 of the git protocol now, so we could have a remote that points to git.bioconductor.org.
The remotes vignette describes some other versions of Bioconductor remotes, e.g.
But installation fails, with:
Is this something that
pak
(pkgdepends
) could support in the future?