Nothing
#context("hm_get")
my_hm <- hm_create()
# try to break the code arguments
test_that("obj bad entry", {
expect_error( hm_get(obj = TRUE) )
expect_error( hm_get(obj = 1:10) )
expect_error( hm_get(obj = 'hola') )
expect_error( hm_get(obj = list(hm_create(), hm_create())) )
})
#> Test passed
test_that("slot_name bad entry", {
expect_error( hm_get(obj = my_hm, slot_name = TRUE) )
expect_error( hm_get(obj = my_hm, slot_name = 1:10) )
expect_error( hm_get(obj = my_hm, slot_name = 1) )
expect_error( hm_get(obj = my_hm, slot_name = 'hola') )
})
#> Test passed
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.