natverse / nat.templatebrains

Support for 3D template brains used as targets for image registration
https://natverse.org/nat.templatebrains/
GNU General Public License v3.0
3 stars 0 forks source link

R CMD check is not running tests #31

Closed jefferis closed 8 years ago

jefferis commented 8 years ago

Just noticed that R CMD check does not seem to be running tests – seems to be something to do with name of root test file.

tests/test-all.r-> tests/testthat.R

seems to work.

But then getting a test error with check that I don't see when running test suite directly

* DONE
Status: 1 ERROR
checking tests ... ERROR
Running the tests in ‘tests/testthat.R’ failed.
Last 13 lines of output:
  Receiving objects:  88% (8/9),    7 kb
  Receiving objects: 100% (9/9),    7 kb, done.
  1. Failure: bridging graph and friends work (@test-transformation.r#106) -------
  `df2` not equal to `df`.
  Attributes: < Component "row.names": Mean relative difference: 0.04081633 >

  testthat results ================================================================
  OK: 63 SKIPPED: 0 FAILED: 1
  1. Failure: bridging graph and friends work (@test-transformation.r#106) 

  Error: testthat unit tests failed
  Execution halted

See
  ‘/GD/dev/R/nat.templatebrains.Rcheck/00check.log’
for details.

R CMD check results
1 error  | 0 warnings | 0 notes

@ajdm does any of this ring a bell?

jefferis commented 8 years ago

Closed by https://github.com/jefferislab/nat.templatebrains/commit/adbd319afc98f005efd15b4dc62c606cb5277cdf