wood_url_packages: List available packages in any repository

View source: R/url-packages.R

wood_url_packagesR Documentation

List available packages in any repository

Description

This function queries any online repository for a list of available packages. They are returned as a vector of strings, each element being a package name. The data is retrieved from ⁠/src/contrib/PACKAGES⁠ or ⁠/src/contrib/PACKAGES.gz⁠ file.

Usage

wood_url_packages(repository)

Arguments

repository

character(1)
URL to repository, e.g. "http://www.omegahat.net/R".

Value

A character vector of available packages.

See Also

Functions for any URL: wood_url_dependencies(), wood_url_version()

Functions that query available packages: wood_bioc_packages(), wood_core_packages(), wood_cran_packages(), wood_github_packages(), wood_local_packages(), wood_packages(), wood_runiverse_packages()

Examples


wood_url_packages("http://www.omegahat.net/R")
# Trailing slashes are removed
wood_url_packages("http://www.omegahat.net/R/")



woodendesc documentation built on April 18, 2023, 5:09 p.m.