Includes "source" column, indicating whether package is from CRAN,
Bioconductor, or from a remote (i.e. GitHub, GitLab) install.
Arguments
- lib
character. Destination library directory path. Defaults to the first element of.libPaths().
Examples
x <- installedPackages()
table(x[["source"]])
#>
#> Acid Genomics Bioconductor
#> 6 15
#> Bioconductor 3.21 Bioconductor 3.22
#> 1 52
#> CRAN https://bioc-release.r-universe.dev
#> 251 3
#> local
#> 15