moodymudskipper / flow

View and Browse Code Using Flow Diagrams
https://moodymudskipper.github.io/flow/
Other
395 stars 26 forks source link

comparative flow_run()s ? #77

Closed moodymudskipper closed 1 year ago

moodymudskipper commented 2 years ago

Not sure about the api but we often have a bug for a given value that we wish to compare with a succesfull case.

In those cases flow_run will show similar diagrams and the differences might explain the errors.

It could even be recursive and fo investigate the differences deeper in the call, going into the call that makes both runs diverge.

moodymudskipper commented 1 year ago

The recursive one is tricky but the simple one might not be all that hard.

We might either return invisible NULL or invisible list of outputs, but invisible(NULL) is probably fine

moodymudskipper commented 1 year ago

let's try this as the standout feature of 0.1.1, seems like a low hanging fruit

moodymudskipper commented 1 year ago

Ultimately we should really be able to compare run across git branches, or staged vs unstaged, or commit vs commit. It would greatly help with the "it worked before what did I do" type of situations.

moodymudskipper commented 1 year ago

done in last CRAN version, to compare commits or versions we need a mature {pkg} I think https://github.com/moodymudskipper/pkg