R/create_course.R

Defines functions create_course

Documented in create_course

#' Create a new course
#'
#' Creates a new GitHub organization for a course along with several repositories in the GitHub organization.
#'
#' @param name Course title as a character string. Example: 'DSCI 100 - Introduction to Data Science'
#' @param organization Name of the organization as a character string with no spaces.
#' This name must be available on GitHub, otherwise an error will be returned.
#' Example: 'dsci-100-2022'
#' @param path Path to the directory where to create the organization. If left
#' blank, defaults to the current working directory.
#'
#' @export
create_course <- function(name, organization, path = ".") {
  initialize_directories(name = name, organization = organization, path = path)
}
nikola-sur/teachr documentation built on April 21, 2022, 4:50 a.m.