Learn R Programming

SIAtools (version 0.1.4)

create_module_project: Create a new RStudio project prepared for SIA modules

Description

The function is designed to be used primarily by RStudio "New Project Wizard". Create a new project by navigating through File > New Project > New Directory > ShinyItemAnalysis Module Project. See RStudio User Guide for the details.

Usage

create_module_project(path, ..., open = TRUE)

Value

No return value. Called for the side effect.

Arguments

path

character, a path to the new module. Use "../my_new_module" to create a module in the parent of the current working directory.

...

used by RStudio only

open

logical, whether to open the project in new RStudio session after creation. Defaults to TRUE.

Examples

Run this code
if (interactive()) {
  # create a new SIA module project in the parent of your working directory
  create_module_project("../my_new_module")
}

Run the code above in your browser using DataLab