Nothing
#' Generatation of hash values from a text strings
#' @keywords internal
#' @description
#' This function uses a sha256 algorithm to generate
#' a hash from a text string.
#' @details
#' This function is used to generate unique identifier
#' from text formulae that is used to store
#' compiled associated code.
#' @author Ghislain Durif
#' @param str a text string.
#' @return the associated hash value as a character
#' string.
#' @importFrom openssl sha256
#' @importFrom stringr str_sub
#' @export
string2hash <- function(str) {
out <- paste("headers", str_sub(sha256(str), start = 1, end = 25), sep="")
return(out)
}
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.