Divert output errors to the telegram bot

errors_to_telegram(
  chat_name = Sys.getenv("R_telegram_error_chat_name"),
  bot_name = getOption("depigner.bot_name")
)

Arguments

chat_name

a

bot_name

a

Value

a

Examples

if (interactive()) {
  library(depigner)
  errors_to_telegram()
}