checkResults: Check results

Usage Arguments Details Value Examples

View source: R/checkResults.R

Usage

1
checkResults(file, subpath_file, subpath_test)

Arguments

file

Path to the result file which should be tested

subpath_file

Subpath of the result file which should be replaced

subpath_test

Subpath which should be inserted to reach the test file

Details

Check results from functions against another dataset. It is assumed that the path to the test data can be compiled by substituting a certain part of the path to the result file. E.g. .../data_test/fun/sample.file and .../data/fun/sample.file.

Value

Information (TRUE/FALSE) if the data is identical.

Examples

1
2
3
4
## Not run: 
checkResults("/data_test/fun/sample.file", "data_test", "data")

## End(Not run)

marburg-open-courseware/beechForestDynamics documentation built on May 7, 2019, 3:14 p.m.