test_that("Test does not run on CRAN", {
testthat::skip_on_cran()
...
test_that("does only work fridays", {
if (is.friday(today())) skip("Not today.")
If you put your manual test files into another directory within the tests folder, you can still test them manually with test_dir(), but they won't be running with test() or R CMD check.
Source: https://stackoverflow.com/questions/25595487/testthat-pattern-for-long-running-tests
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.