logan-berner / LandsatTS

LandsatTS is an R package to facilitate retrieval, cleaning, cross-calibration, and phenological modeling of Landsat time-series data.
Other
26 stars 4 forks source link

Write Tests #3

Closed jakobjassmann closed 2 years ago

jakobjassmann commented 3 years ago
jakobjassmann commented 3 years ago

We need to decide how much energy we want to put into this. Only Logan's functions are remaining. The other two functions have basic functionality tests that work really well at detecting errors.

Initially, I thought we could develop some quick tests build on the example workflow in the readme, but I have run out of time. Perhaps we could just leave it there and take errors just as they come in from users?

Or Logan, when you develop the more detailed examples for the roxygen documentation we could use those to build some reproducible tests? For the random forests etc, we can always use set.seed(number) to generate pseudo random numbers for testing.

logan-berner commented 2 years ago

We decided for now to hold off on implementing tests for east function, so closing this issue for the time.