Nothing
library(pystr)
context("pystr_istitle")
test_that("it returns true if the string is titled", {
expect_true(pystr_istitle("Hello World"))
})
test_that("it returns false if the string is not titled", {
expect_false(pystr_istitle("hello world"))
})
test_that("it works with a character vector", {
expect_equal(pystr_istitle(c("Hello World", "hello world")), c(TRUE, FALSE))
})
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.