The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Package Dependency Resolution, Downloads and Installation
pkgdepends is a toolkit for package dependencies, downloads and installations, to be used in other packages. If you are looking for a package manager, see pak.
Remotes
entry in the
DESCRIPTION
file.Install the package with:
install.packages("pkgdepends")
If you need the development version, install it with
::pak("r-lib/pkgdepends") pak
library(pkgdepends)
A package reference (ref) specifies a location from which an R package can be obtained from. Examples:
devtools
cran::devtools
bioc::Biobase
r-lib/pkgdepends
https://github.com/r-lib/pkgdepends
local::~/works/shiny
See “Package references” for details.
Dependencies of the development version of the cli package:
<- new_pkg_deps("r-lib/pkgcache")
pd $solve()
pd$draw() pd
See the pkg_deps
class for details.
Downloading all dependencies of a package:
<- new_pkg_download_proposal("r-lib/cli")
pdl $resolve()
pdl$download() pdl
See the pkg_download_proposal
class for details.
Installing or updating a set of package:
<- tempfile()
lib dir.create(lib)
<- new_pkg_installation_proposal(
pdi "r-lib/cli",
config = list(library = lib)
)$solve()
pdi$download()
pdi$install() pdi
pkg_deps
,
pkg_download_proposal
and pkg_installation_proposal
all resolve their dependencies recursively, to obtain information about
all packages needed for the specified package
references. See “Dependency
resolution” for details.
The dependency solver takes the resolution information, and works out the exact versions of each package that must be installed, such that version and other requirements are satisfied. See “The dependency solver” for details.
pkg_installation_proposal
can create installation plans, and then also install them. It is also
possible to import installation plans that were created by other tools.
See “Installation
plans” for details.
The details of pkg_deps
,
pkg_download_proposal
and pkg_installation_proposal
can be tuned with a list of configuration options. See “Configuration”
for details.
Please note that the pkgdepends project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
MIT (c) RStudio
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.