Title: | An R Package Skeleton Generator |
---|---|
Description: | A tool for bootstrapping new packages with useful defaults, including a test suite outline that passes checks and helpers for running tests, checking test coverage, building vignettes, and more. Package skeletons it creates are set up for pushing your package to 'GitHub' and using other hosted services for building and test automation. |
Authors: | Neal Richardson [aut, cre] |
Maintainer: | Neal Richardson <[email protected]> |
License: | MIT + file LICENSE |
Version: | 1.1.0 |
Built: | 2024-11-20 05:35:37 UTC |
Source: | https://github.com/nealrichardson/skeletor |
Set some personal defaults for skeletor
configure(name = NULL, email = NULL, github = NULL, file = "~/.Rprofile")
configure(name = NULL, email = NULL, github = NULL, file = "~/.Rprofile")
name |
character: your name |
email |
character: your email address |
github |
character: your GitHub account |
file |
character: file path to set these in as options. Default is your personal .Rprofile file. |
Invisibly, the options set in file
. Typically, you'll call
this function only once, and only for its side effects of adding the values
to your .Rprofile so that skeletor()
will find them there without
your having to enter them each time.
Create a package skeleton
skeletor(pkg, dir = pkg, name = getOption("skeletor.name"), email = getOption("skeletor.email"), github = getOption("skeletor.github"), api = FALSE)
skeletor(pkg, dir = pkg, name = getOption("skeletor.name"), email = getOption("skeletor.email"), github = getOption("skeletor.github"), api = FALSE)
pkg |
character: name for your new package |
dir |
character: path in which to create the package. Default is |
name |
character: your name. Default is 'skeletor.name' from options.
See |
email |
character: your email address. Likewise taken from option 'skeletor.email' by default. |
github |
character: the GitHub account where you will push this new package. Likewise taken from option 'skeletor.github' by default. |
api |
logical: is this package an API wrapper? If |
The path, dir
, invisibly.