davidcsterratt / retistruct

Computational reconstruction and transformation of flattened retinae
http://davidcsterratt.github.io/retistruct/
7 stars 7 forks source link

Test failed buiding on Windows i386 #14

Closed davidcsterratt closed 7 years ago

davidcsterratt commented 7 years ago

I am getting the following error when running the tests on Windows i386.

** running tests for arch 'i386' ... [14s] ERROR
  Running 'getFuns.R' [2s]
  Comparing 'getFuns.Rout' to 'getFuns.Rout.save' ... OK
  Running 'ijroi-format.R' [4s]
  Comparing 'ijroi-format.Rout' to 'ijroi-format.Rout.save' ... OK
  Running 'testthat.R' [6s]
Running the tests in 'tests/testthat.R' failed.
Last 13 lines of output:
  1. Error: Retina reconstructs correctly (@test-reconstruct.R#8) ----------------
  Triangle exit, code $i
  1: retistruct.reconstruct(r) at testthat/test-reconstruct.R:8
  2: ReconstructedOutline(o, report = report, plot.3d = plot.3d, dev.flat = dev.flat, 
         dev.polar = dev.polar, ...)
  3: TriangulatedOutline(s, n = n, suppress.external.steiner = TRUE)
  4: RTriangle::triangulate(RTriangle::pslg(P = out$P, S = out$S[out$SB == 1, ]), Y = TRUE, 
         j = TRUE, Q = TRUE)

  testthat results ================================================================
  OK: 26 SKIPPED: 0 FAILED: 1

This is preventing retistruct 0.5.11 getting submitted to CRAN.

davidcsterratt commented 7 years ago

The fix of https://github.com/davidcsterratt/RTriangle/issues/5 has fixed this issue. We are now ready to try a CRAN submission.