library(devtools)
library(usethis)
library(testthat)
#### One time ####
# use_build_ignore("dev_history.R")
# use_r("measures")
# Did this outside the project
# # git checkout --orphan gh-pages
# # git rm -rf .
# # git commit --allow-empty -m 'Initial gh-pages commit'
# # git push origin gh-pages
# # git checkout master
# travis::use_travis_deploy()
# use_r("helpers")
# use_r("threshold")
# use_test("threshold")
# use_r("area")
# use_test("area")
# use_test("previous_outputs")
# use_news_md()
# badgecreatr::badge_lifecycle("maturing")
# badgecreatr::badge_cran("evabic")
# use_github_action("pkgdown")
# use_test("names")
# use_github_action_check_standard()
# use_github_action_check_release(save_as = "R-CMD-check-dev.yaml")
# badger::badge_last_commit()
#### Repeated ####
load_all()
document()
attachment::att_amend_desc()
use_tidy_description()
# covr::package_coverage()
spell_check()
# spelling::update_wordlist()
run_examples(fresh = TRUE); unlink("Rplots.pdf")
test()
check()
goodpractice::gp()
#### Less often ####
# pkgdown::template_reference()
install(upgrade = "never")
rmarkdown::render("README.Rmd")
unlink("README.html")
pkgdown::build_site()
unlink(c("pkgdown/", "docs/"), recursive = TRUE)
install(upgrade = "never")
build(manual = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.