wood_github_dependencies: Get dependencies of a package on GitHub

View source: R/github-dependencies.R

wood_github_dependenciesR Documentation

Get dependencies of a package on GitHub

Description

This function queries GitHub for dependencies of the selected tagged commit of a repo. By default, it queries the latest commit instead.

Usage

wood_github_dependencies(package, user, tag = "latest")

Arguments

package

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

user

character(1)
Name of a user or organization.

tag

character(1)
Tag of a commit on GitHub or "latest" for the latest (possibly untagged) commit.

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").

See Also

Functions for GitHub: wood_github_latest(), wood_github_packages(), wood_github_tags(), wood_github_versions()

Functions that query package dependencies: wood_bioc_dependencies(), wood_core_dependencies(), wood_cran_dependencies(), wood_dependencies(), wood_gitlab_dependencies(), wood_local_dependencies(), wood_runiverse_dependencies(), wood_url_dependencies()

Examples


wood_github_dependencies("gglgbtq", "turtletopia")
wood_github_dependencies("versionsort", "turtletopia", tag = "v1.0.0")


ErdaradunGaztea/woodendesc documentation built on Feb. 1, 2025, 2:26 a.m.