wood_gitlab_packages: List available package on a Gitlab account

View source: R/gitlab-packages.R

wood_gitlab_packagesR Documentation

List available package on a Gitlab account

Description

This function finds packages among repositories belonging to a selected account. They are returned as a vector of strings, each element being a repository (and in most cases, package) name.

Usage

wood_gitlab_packages(user, include_forks = FALSE)

Arguments

user

character(1)
Name of a user or organization.

include_forks

logical(1)
Whether to include packages forked from other accounts.

Value

A character vector of available packages.

See Also

Functions for GitLab: wood_gitlab_dependencies(), wood_gitlab_latest(), wood_gitlab_tags(), wood_gitlab_versions()

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(), wood_url_packages()

Examples

if (interactive()) {
  wood_gitlab_packages("r-packages")
  # The function takes care of differentiating
  # between users and groups internally
  wood_gitlab_packages("matherion")
}


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