This vignette follows the instructions of Hadley Wichkam's R packaging book.
# install testthat if required usethis::use_testthat()
Run from console :
usethis::use_test("testname")
produces an R file with an example in the folder test/testthat/.
Run all tests (run from console)
devtools::test()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.