discretly: discretly

View source: R/adverbs.R

discretlyR Documentation

discretly

Description

Prevent a funtion from printing message or warning

Usage

discretly(.f)

Arguments

.f

the function to wrap

Value

an error if any, a warning if any, the result if any

Examples

## Not run: 
discrete_mat <- discretly(matrix)
discrete_mat(1:3, 2)

## End(Not run)


ColinFay/trycatchthis documentation built on Dec. 31, 2022, 3:59 a.m.