Skip to contents

Prints a colour-coded pipeline overview to the console and, optionally, opens a self-contained HTML page in the browser (or RStudio viewer) showing all ten stages of the climasus4r health-climate-environment workflow plus utility functions.

Usage

sus_welcome(lang = "pt", output = c("console", "html"), open = TRUE)

Arguments

lang

Character. Language: "pt" (default), "en", or "es".

output

Character vector. Outputs to produce: "console", "html", or both (default). Multiple values are accepted.

open

Logical. If TRUE (default) and the session is interactive, opens the HTML file automatically.

Value

Invisibly returns the path to the HTML file (or NULL when "html" is not in output). Called for its side effects.

Examples

if (FALSE) { # \dontrun{
sus_welcome()
sus_welcome(lang = "en")
sus_welcome(output = "html", open = TRUE)
sus_welcome(lang = "es", output = c("console", "html"))
} # }