errors_to_telegram: Divert output errors to the telegram bot

View source: R/errors_to_telegram.R

errors_to_telegramR Documentation

Divert output errors to the telegram bot

Description

Divert output errors to the telegram bot

Usage

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()
}

CorradoLanera/depigner documentation built on April 26, 2023, 4:34 a.m.