Thanks for registering to “GET better at testing your R package!”.
I’ll assume basic knowledge of package development, of GitHub and git, as well as basics of HTTP requests (having used httr or rvest, for instance).
Here are some setup instructions. Please email me at msmaellesalmon at gmail dot com with any question you may have!
Create a GitHub account if you do not have one yet.
At https://codecov.io make sure you can log in with your GitHub account.
install.packages("devtools")
. Setup chapter of the R packages book.
check: devtools::has_devel()
.
check: devtools::dev_sitrep()
.
check: usethis::git_sitrep()
(it has useful hints in case there are some problems).
optional, usethis and devtools setup: usethis setup article.
install.packages(c("vcr", "tibble", "withr", "httr", "jsonlite", "covr", "whoami", "DT"))
.
Generate a repository from the template repository by clicking on the green button “Use this template”.
usethis::create_from_github("YOUR-USER-NAME/applepie")
. This way you now have our starter package as a local RStudio project with an associated GitHub repository under your account.
See you soon at useR!