InitializeR: Build project directories quickly and easily

View source: R/InitializeR.R

InitializeRR Documentation

Build project directories quickly and easily

Description

When I start a new project, I always start by building my shell project directory. Every project I work in has 5 folders:

  1. R, where all of my written code lives.

  2. figs, where all of the figures produced go.

  3. output, where all of the data that I have created or manipulated goes. Treat things placed in this folder as volatile and non-permenent. It is often that as a project progresses, data written to this folder will be overwritten.

  4. docs, where all of my guiding documents and non-R related items tend to go.

  5. data, where raw data lives. I treat this as read-only. Depending on the project, this folder may be empty and data may be read in from another source (such as a USB drive or encrypted drive)

Usage

InitializeR(projectpath = "./")

Arguments

projectpath

Points to the directory where the sub-directories should be placed. Defaults to the current working directory.

Author(s)

Chris Friedman, chris.s.friedman@gmail.com

Examples

InitializeR()


chris-s-friedman/Friedman documentation built on Feb. 12, 2023, 8:02 p.m.