Create a package skeleton
Arguments
- pkg
character: name for your new package
- dir
character: path in which to create the package. Default is
pkg
- name
character: your name. Default is 'skeletor.name' from options. See
configure()
to setname
,email
, andgithub
in your .Rprofile so that you don't need to pass them in here.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
TRUE
, anapi.R
file of boilerplate code will be added,httr
will be added toImports
,httptest
will be added toSuggests
, and some basic tests of the wrapping code will be added. Default isFALSE
.