richfitz / remake

Make-like declarative workflows in R
Other
340 stars 32 forks source link

Where does remake store/cache command part of traget #179

Closed tcholewik closed 7 years ago

tcholewik commented 7 years ago

I for some reason remake insists on keeping an old version of my function - used in command.

I assumed that it would be cached in .remake directory but - correct me if I'm wrong- that contains only built targets, not functions used to build them.

I tried removing .remake directory, and restarting R but my old function persists! the way I know this function is stored somewhere is because I use dump_environment and function outputed does not match the newest version - as written in the source file.

I'm trying to figure out how to reproduce this issue, any ideas?

tcholewik commented 7 years ago

Found the culpirt- uum.... my code.