skel: Create Rproject Skeleton

Description Usage Arguments Value

View source: R/skel.R

Description

Creates the folder structure and optional basescript for an R project. Creates two directories, data and output, assuming they don't already exist as well as the base script.

Usage

1
2
3
4
5
skel(
  createbasescript = F,
  basescriptname = "00-source-all-files.R",
  path = NULL
)

Arguments

createbasescript

a logical value indicating whether or not a base script should be created. The base script will source all R scripts in the working directory

basescriptname

a character string describing the file name of the base script. Defaults to '00-source-all-files.R'

Value

Does not return a value, but has side effects, namely creating directories and the base script.


crazybilly/muadc documentation built on March 6, 2021, 4:15 p.m.