Skip to content
🐈📦 A Package To Show How To Create Packages
R
Branch: master
Clone or download
Latest commit aedd6f4 Nov 2, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
R Change print behaviour to cat() Nov 1, 2019
docs Correct markdown header in vignette Nov 1, 2019
man Correct markdown header in vignette Nov 1, 2019
tests Initial commit Nov 1, 2019
vignettes Correct markdown header in vignette Nov 1, 2019
.Rbuildignore Initial commit Nov 1, 2019
.gitignore Initial commit Nov 1, 2019
CODE_OF_CONDUCT.md Initial commit Nov 1, 2019
DESCRIPTION
LICENSE.md Initial commit Nov 1, 2019
NAMESPACE Initial commit Nov 1, 2019
README.md Add blog post link Nov 2, 2019
cabinet.Rproj Initial commit Nov 1, 2019

README.md

cabinet

The {cabinet} package was made to show people how to create packages the easy way with {usethis} and {devtools}.

It was built in a Cabinet Office Coffee & Coding session on 1 November 2019.

See the slides from that talk in your browser and read the accompanying blog post.

Installation

You can install {cabinet} from GitHub using the {remotes} package:

install.packages("remotes")
remotes::install_github("cabinet")

Example

The cabinet_cat() function tells you if the provided name belongs to a Cabinet Office cat. Try:

cabinet_cat("Ossie")
cabinet_cat("Larry")
cabinet_cat("Garfield")

Code of conduct

Please note that the 'cabinet' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

You can’t perform that action at this time.