timetests: Get run times for all tests in a package.

Description Usage Arguments Value Examples

View source: R/timetests.r

Description

Get run times for all tests in a package.

Usage

1

Arguments

dir

Path to the directory that contains the tests.

Value

A data.frame sorted by elapsed run time for each test so that you can easily pick out the offending tests that are taking a long time.

Examples

1
2
3
4
## Not run: 
timetests(dir = "/Users/ScottMac/github/rOpenSci/taxize_/inst/tests")

## End(Not run)

sckott/sacbox documentation built on Sept. 3, 2020, 7:22 p.m.