catchToList: Utility for catching warning/error messages

Description Usage Arguments Value

View source: R/helpers.R

Description

Utility for catching warning/error messages

Usage

1

Arguments

expr

an expression to run that can generate potential errors/warnings

Value

a list, capturing both the return value of the expression, as well as generated erros/warnings (NULL if no errors/warnings)


MMUPHin documentation built on April 9, 2021, 6:01 p.m.