# library(YahooTickers)
#
# context("testing get_merval()")
#
# merval_tickers <- YahooTickers:::get_merval()
#
# test_that("returns a tibble with one column and rows of lenght >= 10", {
#
# # class
# expect_is(merval_tickers, "tbl")
# expect_is(purrr::map_chr(merval_tickers, class), "character")
#
# # names
# expect_equal(names(merval_tickers), "tickers")
#
# # size
# expect_equal(merval_tickers %>% ncol(), 1L)
# expect_gte(merval_tickers %>% nrow(), 10)
#
# # tickers length
# expect_lte(purrr::map(merval_tickers, stringr::str_length)[[1]] %>% max(), 9)
#
# })
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.