SPI-Birds / pipelines

Pipelines for generating a standard data format for bird data
2 stars 6 forks source link

General tests #187

Closed cwtyson closed 3 years ago

cwtyson commented 3 years ago

This pull request adds functions to run general tests in test_general_format.R and implements these general tests in the test-PEW.R. This pull request also adds tests for the general tests in test-general_tests.R.

Currently, the PEW pipeline fails several of the tests. All of the failing tests are currently commented out. The tests fail for relatively minor reasons that should be easy to fix. Here is a list of the tests that fail:

cwtyson commented 3 years ago

I realized that the updated data templates created problems for selecting/adding columns within format_GLA, so I fixed this bug within the pipeline and confirmed that the branch is passing all checks.