R/setup_source.R

Defines functions setup_source

Documented in setup_source

#' Add or update the checklist infrastructure to a repository with source files.
#'
#' This adds the required GitHub workflows to run `check_source()` automatically
#' whenever you push commits to GitHub.
#' It also adds a
#' [CC-BY 4.0](https://creativecommons.org/licenses/by/4.0/) license file,
#' a
#' [`CODE_OF_CONDUCT.md`](https://inbo.github.io/checklist/CODE_OF_CONDUCT.html)
#' and the checklist configuration file (`checklist.yml`).
#' @param path The path to the project.
#' Defaults to `"."`.
#' @inheritParams create_package
#' @export
#' @family setup
setup_source <- function(path = ".", language = "en-GB") {
  # nocov start
  .Deprecated(new = "setup_project", package = "checklist")
  setup_project(path = path)
  # nocov end
}
inbo/checklist documentation built on June 15, 2025, 12:54 p.m.