testthat::test_that('trackr_hash works as expected', {
source('test_data/test_df.R')
output <- trackr_hash(df1)
testthat::expect_true('hash' %in% colnames(output))
testthat::expect_identical(output %>% dplyr::slice(1) %>% dplyr::pull(hash), digest::sha1('a1'))
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.