#' Test if an object is a string
#'
#' A string is a one element character vector
#'
#' @param x
#'
#' Equivalent to: \cr
#' \code{ is.character(x) && length(x) == 1 }
#'
# @export
is.string <- function(x) is.character(x) && length(x) == 1
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.