catchToList {MMUPHin} | R Documentation

## Utility for catching warning/error messages

### Description

Utility for catching warning/error messages

### Usage

    catchToList(expr)

### 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)

[Package MMUPHin version 1.4.2 Index]