################################################################################
# Tests for the periodic table of the elements
################################################################################
test_that('PTE works', {
expect_equal(pte[1, "Name"], "Hydrogen")
expect_equal(pte[pte$Symbol=='K', "ElectronConfiguration"], "[Ar]4s1")
# TODO more tests
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.