-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Inconsistent NA return from failed subproblems #175
Comments
One way to address this downstream would be to modify
with
Given the inconsistency of |
If #.NA is a bug, then we should address that upstream.
I suspect that's a bug, but I'm hoping @markmfredrickson will weigh in on
this too. (That's the way much earlier versions of optmatch flagged failed
matches, if memory served.)
… |
Reviewing this code again now, I'd support the modification to |
I made these modifications by adjusting I also expanded the tests for Leaving the issue open for @markmfredrickson to chime in as the |
Thanks for this follow-up, Josh! Rather than inferring subproblem failure or success from whether all the matches are |
When there are multiple subproblems, sometimes failed matches return
NA
and sometimes return1.NA
or some other prefix, which R doesn't recognize asNA
. This is not consistent and it breaksmatchfailed
viasubproblemSuccess
.First, things work fine with no subproblems.
However, with subproblems, things get weird.
The text was updated successfully, but these errors were encountered: