Nothing
library(testthat)
all_patterns <- function (x) {
# get every permutation of elements in x,
# collapse them with |.
stopifnot (length(x) < 6)
permutations <- sapply(
combinat::permn(x),
function (perm) {
paste0(perm, collapse = ".+")
})
paste0(permutations, collapse = "|")
}
test_package('needy')
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.