org_create_assignment: Create a team or individual assignment

View source: R/org_create_assignment.R

org_create_assignmentR Documentation

Create a team or individual assignment

Description

This is a higher level function that combines the following steps:

  • Create repos

  • Create teams and invite students if necessary

  • Add teams or individuals to the repositories

  • Mirror a template repository to assignment repositories

Usage

org_create_assignment(
  org,
  repo,
  user,
  team = NULL,
  source_repo = NULL,
  private = TRUE,
  add_badges = FALSE
)

Arguments

org

Character. Name of the GitHub organization.

repo

Character. Name of the repo(s) for the assignment.

user

Character. GitHub username(s).

team

Character. Team names, if not provided an individual assignment will be created.

source_repo

Character. Address of the repository to use as a template for all created repos.

private

Logical. Should the created repositories be private.

add_badges

Logical. Should GitHub action badges be added to the README.

Value

An invisible list containing the results of each step.


ghclass documentation built on May 29, 2024, 8:44 a.m.