###################################
#### CURRENT FILE: DEV SCRIPT #####
###################################
# Engineering
## Dependencies ----
## Add one line by package you want to add as dependency
usethis::use_package("rstudioapi")
usethis::use_package("dplyr", "Suggests")
usethis::use_package("data.table", "Suggests")
usethis::use_package("purrr", "Suggests")
## Add internal datasets ----
## If you have data in your package
usethis::use_data_raw( name = "my_dataset", open = FALSE )
## Tests ----
## Add one line by test you want to create
usethis::use_test()
# Documentation
## Vignette ----
usethis::use_vignette("origin")
devtools::build_vignettes()
## Code coverage ----
## (You'll need GitHub there)
usethis::use_github()
usethis::use_github_action("test-coverage")
# You're now set! ----
# go to dev/03_deploy.R
rstudioapi::navigateToFile("dev/03_deploy.R")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.