Generic template for research projects structured as R packages