R/goSlimReport.R

Defines functions goSlimReport

#' @importFrom whisker whisker.render
goSlimReport <- function(projectName) {
	goSlimPicPath <- paste0("goslim_summary_", projectName, ".png")
	template <- readLines(system.file("templates/goSlimReport.mustache", package="WebGestaltR"))
	return(whisker.render(template, list(goSlimPicPath=goSlimPicPath)))
}

Try the WebGestaltR package in your browser

Any scripts or data that you put into this service are public.

WebGestaltR documentation built on June 7, 2023, 6:10 p.m.