Closed josherrickson closed 1 year ago
Just a note that we're not catching this locally because the tests where they're failing check if rrelaxiv is available and use it if so, whereas CRAN will not have access to it. Removing rrelaxiv locally and running the test suite fixes it.
Just pushed up an adjustment to the offending files that will ensure both LEMON and RELAX (if installed) get tested.
In order to hit our deadline, I'm going with 3 above - condition on LEMON vs RELAX; checking integer for RELAX and numeric for LEMON.
I'll be pushing up a new version shortly. If we want to revisit this decision, we can do so for the next release.
I agree with this solution, both for now and moving forward. (RELAX-IV requires integer data, so fmatch()
should check that that's satisfied when calling it; but otherwise it's not an intrinsic requirement, so if other solvers take non-integer numerics then we should let 'im.) Thanks J! (I'll leave it to you to close out the issue.)
We're seeing failures in the test suite when using rlemon:
I believe this is due to rlemon returning numeric, not integer:
Options:
is.integer
tois.numeric
.is.integer
tois.numeric
, and then ensure whole numbers (all.equal(round(x), x)
or something similar?)This is high priority - we have until 2/12 to get a new version pushed up. @benthestatistician