kevinwolz / hisafer

An R toolbox for the Hi-sAFe biophysical agroforestry model
6 stars 4 forks source link

default behavior of copy_hisafe_template not logical? (overwriting any template) #119

Closed mariegosme closed 5 years ago

mariegosme commented 5 years ago

by default, overwrite is true (which I think is dangerous), even when new.name is provided, which does not make sense in my opinion: if a new name is provided, a new folder should be created alongside any existing folders. On Christian's computer, using copy_hisafe_template with a new name lead to erasing the "agroforestry" folder that Christian had created in his working directory.

kevinwolz commented 5 years ago

Good point! I will fix this now.