create_project: Create new project scaffolding.

Description Usage Arguments Value Note

View source: R/create_project.R

Description

Create all the scaffolding for a new project in a new directory. The scaffolding includes a README.Rmd file, different folders to hold raw data, analyses, etc, and testthat infrastructure. Also, optionally, set a GitHub repo and add Travis-CI.

Usage

1
2
create_project(name, github = FALSE, private_repo = FALSE,
  manuscript = TRUE, travis = FALSE)

Arguments

name

Name of the new project. A new folder will be created with that name.

github

Logical. Create GitHub repo? Note this requires a GITHUB_PAT. See use_github.

private_repo

Logical. Default is FALSE.

manuscript

Logical. Create manuscript folder. Default is TRUE.

travis

Logical. Set Travis? If TRUE, a badge will be added automatically to README.Rmd. But the project will need to be activated at https://travis-ci.org/profile.

Value

A new directory with R package structure, slightly modified.

Note

This function has been forked and modified from github.com/pakillo/template.


MirzaCengic/Rahat documentation built on May 28, 2019, 1:53 p.m.