Nothing
test_that("validate_policy_acceptance - never accepted policy", {
local_mocked_bindings(
get_config = function(config) {
NULL
},
runGadget = function(...) TRUE,
.package = "myownrobs"
)
result <- validate_policy_acceptance()
expect_true(result)
})
test_that("validate_policy_acceptance - accepted outdated policy", {
local_mocked_bindings(
get_config = function(config) {
0
},
runGadget = function(...) TRUE,
.package = "myownrobs"
)
result <- validate_policy_acceptance()
expect_true(result)
})
test_that("validate_policy_acceptance - accepted policy", {
local_mocked_bindings(
get_config = function(config) {
Inf
},
.package = "myownrobs"
)
result <- validate_policy_acceptance()
expect_true(result)
})
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.