Description Usage Arguments Value Author(s) Examples
A set of functions to retrieve the version number from packages available in Bioconductor or on Github. The version numbers are extracted from the Bioconductor package landing page and the Github master branch, irrespective or the package's local version or availability.
1 2 3 4 5 6 | biocpkgversion(pkg, which = c("release", "devel"), type = c("software",
"experiment", "annotation"), ...)
githubpkgversion(pkg, user = NULL, ...)
cranpkgversion(pkg, ...)
|
pkg |
The name of the package(s) or, for |
which |
Either of |
type |
One of |
... |
additional parameters passed to |
user |
the Github user or organisation where to find the package repository. Default is 'NULL' and ignored. Otherwise, the packge name is constructed by concatenating to '"user/pkg"'. |
A vector
of length equal to the length of pkg
containing the respective version numbers. By default, the
return value is named (USE.NAMES = TRUE
) and simplified to a
character
vector (simplify = TRUE
).
Laurent Gatto
1 2 3 4 5 6 7 8 9 10 | biocpkgversion("MSnbase", "release")
biocpkgversion("MSnbase", USE.NAMES = FALSE)
biocpkgversion("MSnbase", "devel")
biocpkgversion(c("MSnbase", "pRoloc"))
biocpkgversion(c("MSnbase", "pRoloc"), USE.NAMES = FALSE)
githubpkgversion("lgatto/MSnbase")
githubpkgversion("MSnbase", "lgatto")
githubpkgversion("lgatto/MSnbase", USE.NAMES = FALSE)
githubpkgversion(c("lgatto/MSnbase", "lgatto/pRoloc"))
cranpkgversion(c("sequences", "MALDIquant"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.