Skip to contents

Function to create a new R project and files following integral standards [Experimental]

Usage

ic_new_proj(
  path = "",
  create_dirs = T,
  create_rproj = T,
  create_git = ask("Would you like to create a git repository?"),
  switch_proj = ask("Would you like to switch to the newly created project?")
)

Arguments

path

Path to new project. Defaults to user input during function.

create_dirs

Y/n whether to create input, output and QA folders

create_rproj

Y/n whether to create a .Rproj file

create_git

Y/n whether to create a git repository

switch_projf

Y/n whether to switch to newly created project Creates a new R Project and populates with Integral standards

Value

path to new project

Examples

if (FALSE) {
new_proj()
}