Create template: R with history/testcases