Learn R Programming

ghclass (version 0.1.0)

repo_create: Create repository

Description

repo_create creates either individual or team repositories.

Usage

repo_create(
  org,
  name,
  prefix = "",
  suffix = "",
  private = TRUE,
  auto_init = FALSE,
  gitignore_template = "R"
)

Arguments

org

Character. Name of the GitHub organization.

name

Character. One or more GitHub username or team name.

prefix

Character. Common repository name prefix

suffix

Character. Common repository name suffix

private

Logical. Create private repositories?

auto_init

Logical. Initialize the repository with a README.md?

gitignore_template

Character. .gitignore template language.

Value

A character vector of created repository addresses.

Examples

Run this code
# NOT RUN {
repo_create("ghclass-test", c("user01","user02"), prefix = "hw01-")
# }
# NOT RUN {
# }

Run the code above in your browser using DataLab