context('ATC-codes')
test_that('ATC-codes', {
expect_true(httr::GET('https://www.whocc.no/atc_ddd')$status_code == 200)
expect_true(is.data.frame(search_atc_code('A10BA02')))
expect_error(search_atc_code('A02B'))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.