Nothing
testthat::context("read images")
testthat::describe('slick div method',{
it('png',{
testthat::expect_equal(
readImage('../assets/img1.png'),
readRDS('../assets/img1.Rds')
)
})
it('svg',{
testthat::expect_equal(
readImage('../assets/img2.svg'),
readRDS('../assets/img2.Rds')
)
})
it('svg not standalone',{
testthat::expect_error(
slickR:::readImage('../assets/not_standalone.svg'),
regexp = 'not standalone')
})
})
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.