#' Check code chunk
#'
#' Check code chunk.
#'
#' @export
check_chunk <- function(){
check.r <- c("stopifnot(rownames(pheno) == colnames(mtrx))",
"stopifnot(rownames(mtrx) %in% rownames(annot))")
chunk <- c("```{r check}", check.r, "```")
return(chunk)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.