wood_gitlab_dependencies: Get dependencies of a package on GitLab

View source: R/gitlab-dependencies.R

wood_gitlab_dependenciesR Documentation

Get dependencies of a package on GitLab

Description

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

Usage

wood_gitlab_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 GitLab 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 GitLab: wood_gitlab_latest(), wood_gitlab_packages(), wood_gitlab_tags(), wood_gitlab_versions()

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

Examples


wood_gitlab_dependencies("limonaid", "r-packages")
wood_gitlab_dependencies("rock", "r-packages", tag = "0.6.3")


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