ices-tools-prod / TAF

Transparent Assessment Framework for Reproducible Research
GNU General Public License v3.0
3 stars 2 forks source link

squashed commit changing bootstrap, model to boot, method #1

Closed colinpmillar closed 1 year ago

colinpmillar commented 3 years ago

sorry for the massive commit. I have not solved the issue with makeTAF, will have to think on that a bit.

The main change is to create a variable called taf.constants which holds all the folder and section names. So anywhere in the code this is used, I have either substituted taf.constants$boot etc.

I have also made some utility functions taf.lib.path(), taf.data.path() and taf.software.path() which all act like file.path() and are based on a function taf.boot.path() which finds the route to the boot folder whether youare in the bootstrap/data folder or in the root. It was useful when developing boot/*.R scripts