Creates common project files like .gitignore, README.md. LICENSE.md, etc.#'
Usage
use_gitignore_usgs(
home = ".",
additions = NULL,
open = rlang::is_interactive()
)
use_readme_usgs(home = ".", open = rlang::is_interactive())
use_readme_rmd_usgs(home = ".", open = rlang::is_interactive())
use_license_usgs(home = ".", open = rlang::is_interactive())
use_code_json_usgs(home = ".", open = rlang::is_interactive())
use_disclaimer_provisional_usgs(home = ".", open = rlang::is_interactive())
use_disclaimer_approved_usgs(home = ".", open = rlang::is_interactive())
use_code_of_conduct_usgs(home = ".", open = rlang::is_interactive())
use_contributing_usgs(
home = ".",
repo_url = NULL,
open = rlang::is_interactive()
)
use_changelog_usgs(home = ".", open = rlang::is_interactive())
use_gitlab_mr_template_usgs(home = ".", open = FALSE)Arguments
- home
chr, root directory of project. Defaults to current working directory
- additions
chr vector, other files/directories to be added to .gitignore
- open
lgl; whether to open the file for interactive editing
- repo_url
chr, URL to Git repository. If
NULL(default) a generic URL will be provided as a link to the repository in CONTRIBUTING.md. Otherwise, the issue page forrepo_urlwill be used as the link.