stats = read.csv("testex/stats.csv")
if (NROW(stats)>0) {
cat("\nStats: ")
print(stats)
} else {
cat("No record changes or errors in examples.")
}
cat("\n")
txt = readLines("testex/log.Rmd")
cat(paste0(txt, collapse="\n"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.