Nothing
context("Herfindahl expectations")
pdf(NULL) # suppress generating any PDFs
test_that("Herfindahl", {
dat = c(80, 60, 10, 20, 30)
dat %>% Herfindahl %>% as.numeric %>%
expect_equal(0.285, tolerance=.005)
})
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.