Nothing
pluralise <- function(message, objects) {
pluralise_n(message, length(objects))
}
pluralise_n <- function(message, n) {
stopifnot(n >= 0)
# Don't strip parens if they have a space in between
# (but not if the space comes before the closing paren)
if (n == 1) {
# strip [
message <- gsub("\\[([^\\] ]* *)\\]", "\\1", message, perl = TRUE)
# remove ( and its content
message <- gsub("\\([^\\) ]* *\\)", "", message, perl = TRUE)
} else {
# strip (
message <- gsub("\\(([^\\) ]* *)\\)", "\\1", message, perl = TRUE)
# remove [ and its content
message <- gsub("\\[[^\\] ]* *\\]", "", message, perl = TRUE)
}
message
}
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.