meta_cache_deps {pkgcache} | R Documentation |
Query CRAN(like) package data
Description
It uses CRAN and BioConductor packages, for the current platform and R version, from the default repositories.
Usage
meta_cache_deps(packages, dependencies = NA, recursive = TRUE)
meta_cache_revdeps(packages, dependencies = NA, recursive = TRUE)
meta_cache_update()
meta_cache_list(packages = NULL)
meta_cache_cleanup(force = FALSE)
meta_cache_summary()
Arguments
packages |
Packages to query. |
dependencies |
Dependency types to query. See the |
recursive |
Whether to query recursive dependencies. |
force |
Whether to force cleanup without asking the user. |
Details
meta_cache_list()
lists all packages.
meta_cache_update()
updates all metadata. Note that metadata is
automatically updated if it is older than seven days.
meta_cache_deps()
queries packages dependencies.
meta_cache_revdeps()
queries reverse package dependencies.
meta_cache_summary()
lists data about the cache, including its location
and size.
meta_cache_cleanup()
deletes the cache files from the disk.
Value
A data frame of the dependencies. For
meta_cache_deps()
and meta_cache_revdeps()
it includes the
queried packages
as well.
Examples
meta_cache_list("pkgdown")
meta_cache_deps("pkgdown", recursive = FALSE)
meta_cache_revdeps("pkgdown", recursive = FALSE)