Nothing
context("Checking rm_nchar_words")
test_that("rm_nchar_words is removing/replacing nchar_words strings",{
x <- "This Jon's dogs' 'bout there in word Mike's re'y."
x2 <- "there in Mike's re'y."
expect_equivalent(rm_nchar_words(x, 4), x2)
})
test_that("rm_nchar_words is extracting nchar_words strings",{
x <- "This Jon's dogs' 'bout there in word Mike's re'y."
x3 <- list(c("This", "Jon's", "dogs'", "'bout", "word"))
expect_equivalent(rm_nchar_words(x, 4, extract=TRUE), x3)
})
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.