Learn R Programming

workflowr (version 0.2.0)

start_project: Start a new workflowr project.

Description

start_project creates a new project directory for the site.

Usage

start_project(name, directory, git_init = TRUE, overwrite = FALSE)

Arguments

name

Project name, e.g. "My Project"

directory

The directory for the project, e.g. "new-project". Will be created if necessary.

git_init

Control whether the directory is initiatlized as a Git repository (default: TRUE).

overwrite

overwrite Control whether to overwrite existing files (default: FALSE). Passed to file.copy.

Details

This is the initial function that organizes the infrastructure to create a research website for your project. Note that while you do not need to use RStudio with workflowr, do not delete the Rproj file because it is required by other functions.

Examples

Run this code
# NOT RUN {
start_project("My Project", "path/to/new-project")
# }

Run the code above in your browser using DataLab