https://github.com/metacran/mason
A friendly craftsman that builds you great R packages
https://github.com/metacran/mason
Last synced: 5 months ago
JSON representation
A friendly craftsman that builds you great R packages
- Host: GitHub
- URL: https://github.com/metacran/mason
- Owner: metacran
- License: other
- Archived: true
- Created: 2015-06-02T05:56:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2017-07-07T15:13:27.000Z (almost 8 years ago)
- Last Synced: 2024-08-13T07:15:38.676Z (8 months ago)
- Language: R
- Homepage:
- Size: 1.55 MB
- Stars: 96
- Watchers: 8
- Forks: 2
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - metacran/mason - A friendly craftsman that builds you great R packages (R)
README
# mason
> Friendly Craftsman Who Builds Slick R Packages
[](https://travis-ci.org/gaborcsardi/mason)
[](https://ci.appveyor.com/project/gaborcsardi/mason)
[](http://www.r-pkg.org/pkg/mason)
[](http://www.r-pkg.org/pkg/mason)
Mason builds R packages. It asks you some simple questions, fills in a
template based on your answers, and creates proper metadata files, READMEs
with badges, git repositories, everything you need to just start writing
and committing your code.Mason is extensible: each template is a separate R package named
`mason.`, where `` is the name of the template. To use
a new template, you need to install it first. Mason will be then able to
use it immediately, without any configuration. See
e.g. [mason.rpkg](https://github.com/gaborcsardi/mason.rpkg) for a generic
R package template.Mason makes sure that you get your package as quick as possible, with the
least number of keystrokes: it tries to find out your username, name email
address, GitHub login name, etc. from your settings, to give you reasonable
defaults, so that all you need to do is press `ENTER` a couple of times.Mason's role model is [Yeoman](http://yeoman.io).
## Installation
You can install Mason and its dependencies from GitHub, using the
`devtools` package:```r
devtools::install_github("metacran/mason")
```You need to install at least one template as well:
```r
devtools::install_github("metacran/mason.rpkg")
devtools::install_github("metacran/mason.github")
```## Usage
Create an empty directory and make that your current directory.
The new package will be created within that:```r
dir.create("mypackage")
setwd("mypackage")
```Then just call Mason with the name of the template:
```r
mason::mason("github")
```



## License
MIT © [Gábor Csárdi](https://github.com/gaborcsardi).