josherrickson / rlemon

rlemon - R interface to C++ LEMON graph library
http://errickson.net/rlemon/
8 stars 3 forks source link

Consistent logicals #36

Closed josherrickson closed 2 years ago

josherrickson commented 2 years ago

There's a few places where functions return 0/1 instead of TRUE/FALSE. We should standardize this. It's fine for the runners to be inconsistent, but the exported functions should not.

E.g. GraphSearch's third return is a series of 0/1's that are really logical.

Also, following this, expand lemon_runners() documentation to add new distinction.

josherrickson commented 2 years ago

I think I've captured all of the numeric 0/1's and turned them into logicals.