test_gcount: Run a set of tests

Description Usage Arguments Details Value See Also Examples

View source: R/test-gcount.R

Description

Runs a set of tests to check if gcount is working correctly.

Usage

1
test_gcount(verbose = FALSE, pkg = "pkg", silent = FALSE)

Arguments

verbose

If TRUE sets gcount_verbose to TRUE for the duration of the tests.

pkg

Root directory name under which all package content (ex: DESCRIPTION, src/, R/, inst/ etc..) resides.

silent

Logical, default FALSE. When TRUE it will not raise error on in case of test fails.

Details

Runs a series of tests. These can be used to see features and examples of usage, too. Running test_gcount will tell you the full location of the test file(s) to open.

Value

When silent equals to TRUE it will return TRUE if all tests were successful. FALSE otherwise. If silent equals to FALSE it will return TRUE if all tests were successful. Error otherwise.

See Also

get_counts

Examples

1
2
3
4
## Not run: 
gcount:::test_gcount()

## End(Not run)

openanalytics/gcount documentation built on May 24, 2019, 2:26 p.m.