tests/testthat/test-defunct.R

context("defunct")

test_that("defunct functions", {
  expect_error(driver_redis_api(),
               "redux::driver_redis_api",
               fixed = TRUE,
               class = "defunctError")
  expect_error(storr_redis_api(),
               "redux::storr_redis_api",
               fixed = TRUE,
               class = "defunctError")
})

Try the storr package in your browser

Any scripts or data that you put into this service are public.

storr documentation built on Dec. 2, 2020, 1:06 a.m.