Skip to content

Instantly share code, notes, and snippets.

@karthik
Created June 7, 2018 12:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save karthik/83b3db6f22f14ea16b684952b6224b04 to your computer and use it in GitHub Desktop.
Save karthik/83b3db6f22f14ea16b684952b6224b04 to your computer and use it in GitHub Desktop.
rrtools::use_compendium("pkgname")
# Ideally
rrtools::use_compendium("/full/path/to/pkgname")
#
usethis::use_mit_license(name = "Karthik Ram")
devtools::use_github(".", auth_token = "xxxx", protocol = "https", private = FALSE)
# https://github.com/settings/tokens
rrtools::use_readme_rmd()
rrtools::use_analysis()
rrtools::add_dependencies_to_description()
# Will add dependencies to the package manifest
# More advanced things
rrtools::use_dockerfile()
rrtools::use_travis()
# Not to worrry about for now
usethis::use_testthat()
# Will allow you to add tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment