collapse_messages: Collapse several messages to one

View source: R/check_forecasts.R

collapse_messagesR Documentation

Collapse several messages to one

Description

Internal helper function to facilitate generating messages and warnings in check_forecasts()

Usage

collapse_messages(type = "messages", messages)

Arguments

type

character, should be either "messages", "warnings" or "errors"

messages

the messages or warnings to collapse

Value

string with the message or warning


scoringutils documentation built on Feb. 16, 2023, 7:30 p.m.