skeletor
An R Package Skeleton Generator
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.
README
# yourpackagename
[](https://travis-ci.org/yourgithub/yourpackagename) [](https://codecov.io/gh/yourgithub/yourpackagename)
## How to finish setting up your new package
Now that you've got a working package skeleton, there are a few steps to finish setting up all the integrations:
### 1. Git(Hub)
Go to https://github.com/yourgithub and create a new repository. Then, in the directory where this package is, create your git repository from the command line, add the files, and push it to GitHub:
git init
git add --all
git commit -m "Initial commit of package skeleton"
git remote add origin git@github.com:yourgithub/yourpackagename.git
git push -u origin master
### 2. Travis
Now you can go to [Travis](https://travis-ci.org/profile/yourgithub) and turn on continuous integration for your new package. You may need to click the "Sync account" button to get your new package to show up in the list.
If you have a codecov.io account, running your tests on Travis will trigger the code coverage job. No additional configuration is necessary
### 3. Appveyor
Go to [Appveyor's new project page](https://ci.appveyor.com/projects/new) and select your new repository from the list. Then you can go to the [badges](https://ci.appveyor.com/project/yourgithub/yourpackagename/settings/badges) page, copy the markdown code it provides, and paste it up with the other badges above. (Their badge API has a random token in it, so `skeletor` can't include it in the template for you.)
### 4. Delete this "How to finish setting up your new package" section from your README.md
## Installing
<!-- If you're putting `yourpackagename` on CRAN, it can be installed with
install.packages("yourpackagename") -->
The pre-release version of the package can be pulled from GitHub using the [devtools](https://github.com/hadley/devtools) package:
# install.packages("devtools")
devtools::install_github("yourgithub/yourpackagename", build_vignettes=TRUE)
## For developers
The repository includes a Makefile to facilitate some common tasks.
### Running tests
`$ make test`. Requires the [testthat](https://github.com/hadley/testthat) package. You can also specify a specific test file or files to run by adding a "file=" argument, like `$ make test file=logging`. `test_package` will do a regular-expression pattern match within the file names. See its documentation in the `testthat` package.
### Updating documentation
`$ make doc`. Requires the [roxygen2](https://github.com/klutometis/roxygen) package.
Versions across snapshots
| Version | Repository | File | Size |
|---|---|---|---|
1.0.4 |
rolling linux/jammy R-4.5 | skeletor_1.0.4.tar.gz |
19.8 KiB |
1.0.4 |
rolling linux/noble R-4.5 | skeletor_1.0.4.tar.gz |
19.7 KiB |
1.0.4 |
rolling source/ R- | skeletor_1.0.4.tar.gz |
10.9 KiB |
1.0.4 |
latest linux/jammy R-4.5 | skeletor_1.0.4.tar.gz |
19.8 KiB |
1.0.4 |
latest linux/noble R-4.5 | skeletor_1.0.4.tar.gz |
19.7 KiB |
1.0.4 |
latest source/ R- | skeletor_1.0.4.tar.gz |
10.9 KiB |
1.0.4 |
2026-04-26 source/ R- | skeletor_1.0.4.tar.gz |
10.9 KiB |
1.0.4 |
2026-04-23 source/ R- | skeletor_1.0.4.tar.gz |
10.9 KiB |
1.0.4 |
2026-04-09 windows/windows R-4.5 | skeletor_1.0.4.zip |
25.4 KiB |
1.0.4 |
2025-04-20 source/ R- | skeletor_1.0.4.tar.gz |
10.9 KiB |