#### TESTS FOR remove_backups ##################################################
test_that("sig_backup and sig_hash are removed", {
assign("sig_backup", test_img, envir = .matchr_env)
assign("sig_hash", "test", envir = .matchr_env)
expect_equal(suppressMessages(remove_backups()), c("sig_backup", "sig_hash"))
})
test_that("no backups are handled", {
expect_equal(suppressMessages(remove_backups()), character())
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.