catchToList: Utility for catching warning/error messages

View source: R/helpers.R

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


biobakery/MMUPHin documentation built on March 30, 2024, 4:50 a.m.