···17171818## Usage
19192020-The package is optimized for my usage by default, so calling the main function bare is not advised unless you are me.
2020+The package is optimized for my usage by default, so calling the main function bare is not advised unless you are me. You should call it in a directory which is already tracked by git and already has GitHub as a remote.
21212222```r
2323-bootstrapper:bootstrapper()
2323+bootstrapper::bootstrapper()
2424```
25252626The main thing to set is the fields option, where you should put your own name, email, etc. instead.
27272828```r
2929-bootstrapper:bootstrapper(
2929+bootstrapper::bootstrapper(
3030 fields = list(
3131 "Authors@R" = person(
3232 "Visruth",
-6
man/bootstrapper.Rd
···55\title{Bootstrap a New R Package}
66\usage{
77bootstrapper(
88- path = ".",
98 fields = getOption("usethis.description", list(`Authors@R` = person("Visruth",
109 "Srimath Kandali", , "public@visruth.com", role = c("aut", "cre", "cph"), comment =
1110 c(ORCID = "0009-0005-9097-0688")))),
1212- private = TRUE,
1311 setup_gha = TRUE,
1412 setup_dependabot = TRUE,
1513 setup_AGENTS = FALSE,
···1816)
1917}
2018\arguments{
2121-\item{path}{Path where the package should be created. Defaults to \code{"."}}
2222-2319\item{fields}{Named list of \code{DESCRIPTION} fields passed to
2420\code{\link[usethis:create_package]{usethis::create_package()}}. See \code{\link[usethis:use_description]{usethis::use_description()}}}
2525-2626-\item{private}{Whether to create the GitHub repository as private. Defaults to \code{TRUE}.}
27212822\item{setup_gha}{Whether to configure GitHub Actions setup.}
2923
+3-12
man/create_package.Rd
···44\alias{create_package}
55\title{Create a Package and Connect GitHub}
66\usage{
77-create_package(
88- path = ".",
99- fields = getOption("usethis.description"),
1010- private = TRUE,
1111- ...
1212-)
77+create_package(fields = getOption("usethis.description"), ...)
138}
149\arguments{
1515-\item{path}{Path where the package should be created. Defaults to \code{"."}}
1616-1710\item{fields}{Named list of \code{DESCRIPTION} fields passed to
1811\code{\link[usethis:create_package]{usethis::create_package()}}. See \code{\link[usethis:use_description]{usethis::use_description()}}}
1919-2020-\item{private}{Whether to create the GitHub repository as private. Defaults to \code{TRUE}.}
21122213\item{...}{Additional arguments passed to \code{\link[usethis:create_package]{usethis::create_package()}}.}
2314}
···2516Invisibly returns \code{NULL}.
2617}
2718\description{
2828-Create a package, apply \code{.Rbuildignore} cleanup, prompt for a license, and
2929-connect the package to GitHub.
1919+Create a package in root, prompts for a license, cleans
2020+up build ignore file.
3021}