test.project: Run all unit tests for this project.

Description Usage Value Examples

View source: R/test.project.R

Description

This function will run all of the testthat style unit tests for the current project that are defined inside of the tests directory. The tests will be run in the order defined by the filenames for the tests: it is recommend that each test begin with a number specifying its position in the sequence.

Usage

1

Value

No value is returned; this function is called for its side effects.

Examples

1
2
3
4
5
6
library('ProjectTemplate2')

## Not run: load.project()

test.project()
## End(Not run)

connectedblue/ProjectTemplate2 documentation built on May 17, 2019, 2:46 p.m.