moodymudskipper / flow

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

Fails unless the whole package is attached #33

Closed Bisaloo closed 3 years ago

Bisaloo commented 3 years ago

I wanted to do a quick test using the example in the README but

flow::flow_view(median.default)

fails with

Error in flow_data(median.default, NULL, NULL, NULL, TRUE, FALSE) : could not find function "flow_data"

I think it's the first time I see this kind of error so I don't know how to fix it but you might.

moodymudskipper commented 3 years ago

Thanks so much, good catch! it's because in flow_view I evaluate a call to flow_data in the caller environment so it doesn't look into flow's namespace. I just added ::.

63ecd81b340f0b85c1ecc5c84cdc271844e9b63e

github-actions[bot] commented 2 years ago

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.