Skip to contents

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.

Examples

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