#' Display config file
#'
#' @description
#' Function display on STDIN config file given by user.
#'
#' @param .config loaded yaml file :: List
#' @export
show_config = function(.config) {
cli::cli_alert_info("Loaded benchmark config:")
cli::cli_ol()
cli::cli_li("Algorhitms:")
ulid = cli::cli_ul()
cli::cli_li("{.config$methods}")
cli::cli_end(ulid)
cli::cli_li("Benchmark name: {.config$benchmark}")
cli::cli_li("Dimensions: {.config$dimensions}")
cli::cli_li("Repetitions: {.config$repetition}")
cli::cli_li("Problems: {.config$problems}")
cli::cli_end()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.