Closed achubaty closed 4 years ago
NOTE: much of this could/should be implemented in SpaDES.core
. Started an issue there (https://github.com/PredictiveEcology/SpaDES.core/issues/74).
closing, as much of the module testing machinery needs implementing in SpaDES.core
and other code sued by modules is being tested in packages (e.g., LandR
and LandWebUtils
)
some modules already have unit tests, but they will likely fail if run today because of the changes made to those modules and because they use hardcoded paths instead of relative ones.
see here for getting travis setup for non-R packge code.
We would need to:
SpaDES
andtestthat
, then parse the module metadata forreqdPkgs
and install them);.R
files each load any packages required of them and clean up after themselves.