initProject: Initialize an 'RStudio' Project or a Shiny Application

Description Usage Details Value Examples

View source: R/init_project.R

Description

Create a new RStudio project then launch this addin. You will be able to create folders and scripts to start your analysis/project/application in no time.

Usage

1

Details

You can change some default parameters if you want, look at example below, here's the full list of parameters :

Value

the return of runGadget

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
## Not run: 
# you can launch the addin via the RStudio Addins menu
# or in the console :
arsenal::initProject()

# Change default parameters
# (you can put this in your Rprofile) :
my_custom_params <- list(
  author = "Your Name",
  project = list(
    folders = list(
      default = c("R", "inst", "man", "data-raw", "data", "tests"),
      selected = c("R", "man")
    ),
    packages = list(
      default = rownames(installed.packages()),
      selected = "shiny"
    )
  )
)
options("arsenal" = my_custom_params)

# Then relaunch the addin

## End(Not run)

jimbrig2011/arsenal documentation built on July 12, 2019, 12:25 p.m.