test_that("ulam_spiral works without errors", {
expect_error(ulam_spiral(15), NA) # odd side length
expect_error(ulam_spiral(16), NA) # even side length
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.