test_that("split_string_into_parts() works", {
f <- kwb.fakin:::split_string_into_parts
expect_error(f())
expect_length(f("lajfljaslfjaljfaljf", size = 10), 2)
expect_length(f("lajfljaslfjaljfaljf", size = 30), 1)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.