Learn R Programming

ghclass (version 0.1.0)

org_repos: Get organization repository

Description

org_repos returns a (filtered) vector of repositories belonging to a GitHub organization.

Usage

org_repos(org, filter = NULL, exclude = FALSE, full_repo = TRUE)

Arguments

org

Character. Name of the GitHub organization.

filter

Character. Regular expression pattern for matching (or excluding) repositories.

exclude

Logical. Should entries matching the regular expression in filter be excluded or included?

full_repo

Logical. Should the full repository address be returned (e.g. owner/name instead of just repo)?

Examples

Run this code
# NOT RUN {
org_repos("ghclass")
org_repos("ghclass", "hw1-")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab