DOI-USGS / scipiper

https://usgs-r.github.io/scipiper/index.html
Creative Commons Zero v1.0 Universal
9 stars 12 forks source link

use `unique()` on task_names input in create_task_plan #111

Open jordansread opened 5 years ago

jordansread commented 5 years ago

I ran into this and thought something was funky w/ my build, since my task makefiles were taking so long to build. I was using a huge task_names vector that contained many duplicates (I had simply no realized I didn't run unique() on it. Somehow, create_task_plan is smart enough to only end up with the unique targets, but it churns for awhile with all of the extra inputs.

This seems like a small issue to deal with - potentially warn when there are duplicate task names and use unique() on them?