ProjectTemplate (version 0.7)

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

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

test.project()

Arguments

Value

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

Examples

Run this code
# NOT RUN {
library('ProjectTemplate')

# }
# NOT RUN {
load.project()

test.project()
# }

Run the code above in your browser using DataLab