The goal of usethis is to automate many common package and analysis setup tasks.
You can install usethis from github with:
# install.packages("devtools")
devtools::install_github("hadley/usethis")
All use_*
functions operate on the current directory.
use_test("my-test")
use_github()
use_rcpp()