fails: Test if a Call Fails

View source: R/09_utils.R

failsR Documentation

Test if a Call Fails

Description

This is mainly used internally and should be rarely needed but can be useful for some custom trick conditions. Use this with caution! The tested call is run so you don't want it to have potential side effects or be slow!

Usage

fails(call)

Arguments

call

A call

Details

The potential failure will be totally silent (no printed output, no error, no message, no warning). Other side effects should not be an issues if the function is used properly.


moodymudskipper/poof documentation built on Dec. 10, 2024, 12:07 a.m.