#' Configuration
#'
#' Creates a configuration file.
#'
#' @rdname config
#' @export
create_config <- function(){
file <- system.file("inndxweb.yml", package = "inndxweb")
created <- file.copy(file, to = config_file)
if(created)
cli::cli_alert_success("_inndxweb.yml file copied: fill it in")
else
cli::cli_alert_danger("Cannot create config file")
invisible()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.