Learn R Programming

scoringutils (version 1.2.2)

collapse_messages: Collapse several messages to one

Description

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

Usage

collapse_messages(type = "messages", messages)

Value

string with the message or warning

Arguments

type

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

messages

the messages or warnings to collapse