Project template consistent with the conventions followed by Boysel & Parsa.

project_template(path, use_git, use_packrat)

Arguments

path

directory filepath of project.

use_git

logical indicating if git2r::init(path) should be run.

use_packrat

logical indicating if packrat::init() should be run. Default settings disable automatic snapshots and instructs git to ignore the packrat/src directory.

Value

creates project directory and subdirectories. Initializes git and packrat if specified.