Nothing
#' @importFrom stringr str_detect
#' @importFrom checkmate test_character
detect_table <- function(x) {
if (!test_character(x, min.len = 1, any.missing = FALSE)) {
return(FALSE)
}
all(str_detect(x, "^\\s*\\|.*\\|\\s*$"))
}
#' @importFrom stringr str_detect
#' @importFrom checkmate test_character
detect_docstring <- function(x) {
if (!test_character(x, min.len = 2, any.missing = FALSE)) {
return(FALSE)
}
all(
c(
str_detect(x[1], "^\\s*```|^\\s*\"\"\"$"),
str_detect(x[length(x)], "^\\s*```|^\\s*\"\"\"$")
)
)
}
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.