rostools / r-cubed-intermediate

Reproducible Research in R: An Intermediate Workshop on Modern Approaches and Workflows to Processing Data
https://r-cubed-intermediate.rostools.org/
Other
5 stars 4 forks source link

Read data with mmash.R cannot remove old data #48

Closed AndersAskeland closed 4 months ago

AndersAskeland commented 4 months ago

This causes a issue if running mmash.R several times

2nd iteration it will place the DataPaper folder inside mmash folder. Third time will give an error.

Potential fix would be to delete the mmash folder before moving the new one.

AndersAskeland commented 4 months ago

Is commented out in section 8.9 so will usually not be relevant. However, one could still add a line to remove the old data if wanted.

lwjohnst86 commented 4 months ago

Ooo, that's a nice idea for a fix, with deleting the mmash folder!