set_max_fails: Set maximum number of test failures allowed before aborting...

View source: R/reporter-progress.R

set_max_failsR Documentation

Set maximum number of test failures allowed before aborting the run

Description

This sets the TESTTHAT_MAX_FAILS env var which will affect both the current R process and any processes launched from it.

Usage

set_max_fails(n)

Arguments

n

Maximum number of failures allowed.


testthat documentation built on April 4, 2025, 1:08 a.m.