Skip to content

Configuration

current_config()
pkgdepends configuration

Package names and references

pkg_refs
Package references
parse_pkg_refs() parse_pkg_ref()
Parse package location references
pkg_name_check()
Check if an R package name is available.
pkg_rx()
A set of handy regular expressions related to R packages

Package dependencies

pkg_resolution pkg_resolution_result
Dependency resolution
pkg_solution pkg_solution_result
The dependency solver
new_pkg_deps()
R6 class for package dependency lookup
scan_deps()
Scan R code for dependent packages

Package downloads

pkg_downloads pkg_download_result
Package downloads
new_pkg_download_proposal()
R6 class for package downloads

Package installation

install_plans
Installation plans
install_package_plan()
Perform a package installation plan
new_pkg_installation_plan()
R6 class for installation from a lock file
new_pkg_installation_proposal()
R6 class for package download and installation.

Package libraries

lib_status()
Status of packages in a library

System requirements

sysreqs_check_installed() sysreqs_fix_installed()
Check if installed packages have all their system requirements
sysreqs_db_list()
List contents of the system requirements DB, for a platform
sysreqs_db_match()
Match system requirement descriptions to the database
sysreqs_db_update()
Update the cached copy of the system requirements database
sysreqs_install_plan()
Create an installation plan for system requirements
sysreqs_is_supported()
Check if a platform has system requirements support
sysreqs_list_system_packages()
List installed system packages
sysreqs_platforms()
List platforms with system requirements support

Utility functions

as_pkg_dependencies()
Shorthands for dependency specifications
current_r_platform() default_platforms()
R platforms
is_valid_package_name()
Check whether a package name is valid
pkg_dep_types_hard() pkg_dep_types_soft() pkg_dep_types()
Possible package dependency types