Skip to contents

This function queries any online repository for dependencies of the selected package.

Usage

wood_url_dependencies(package, repository)

Arguments

package

character(1)
Name of a package to query for.

repository

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

Value

A data frame with three columns, all in string format:

  • package (package name),

  • version (minimum version requirement or NA if none),

  • type (dependency type, e.g. "Imports").

Examples

# \donttest{
wood_url_dependencies("XML", repository = "http://www.omegahat.net/R")
#> <dependencies>
#>   Depends:     R (>= 1.2.0)
#>   Depends:     utils
#>   Imports:     methods
#>   Suggests:    bitops
#>   Suggests:    RCurl
# }