josherrickson / rlemon

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

algorithm argument must be string #32

Closed josherrickson closed 2 years ago

josherrickson commented 2 years ago
> MaxClique(s, t, n, 1)
[[1]]
[1] 3

[[2]]
[1] 1 2 3

Input check on algorithm to ensure is.character().

josherrickson commented 2 years ago

See above commit for a way to check. Probably want to move that check into check_graphs.R (and renamed to check_input.R?) to standardize.