Nothing
context("Checking rm_endmark")
test_that("rm_endmark is removing/replacing emoticon strings",{
x <- c("I like the dog.", "I want it *|", "I;",
"Who is| that?", "Hello world", "You...")
x2 <- c("I like the dog", "I want it", "I;", "Who is| that", "Hello world",
"You")
expect_equivalent(rm_endmark(x), x2)
})
test_that("rm_endmark is extracting emoticon strings",{
x <- c("I like the dog.", "I want it *|", "I;",
"Who is| that?", "Hello world", "You...")
x3 <- list(".", "*|", NA_character_, "?", NA_character_, "...")
expect_equivalent(rm_endmark(x, 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.