repo_create creates either individual or team repositories.

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

if (FALSE) { repo_create("ghclass-test", c("user01","user02"), prefix = "hw01-") }