BrunaLab / bdffpRain

R package for rain gauge data from the Biological Dynamics of Forest Fragments Project.
MIT License
0 stars 0 forks source link

Use pointblank for data QA/QC "testing" #19

Closed Aariq closed 3 years ago

Aariq commented 3 years ago

Migrate testthat tests to a pointblank report instead. Currently tests are failing because of low correlation among sites, but a threshold could be incorporated into a pointblank report such that this low correlation produces a warning, but not a fail condition.

After converting the tests to a pointblank agent, it would be good to:

  1. Figure out how to run this agent with github actions
  2. Run as a test (i.e. get a badge, get emails when it fails)
  3. Generate the report from this agent in a way the user can access (maybe this doesn't need to be done with CI?)
Aariq commented 3 years ago

Or maybe just use their functions written to work with testthat https://rich-iannone.github.io/pointblank/articles/VALID-III.html

Aariq commented 3 years ago

related discussion: https://github.com/rich-iannone/pointblank/discussions/250