Learn R Programming

ProjectTemplate (version 0.11.0)

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
library('ProjectTemplate')

if (FALSE) load.project()

test.project()

Run the code above in your browser using DataLab