Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

use_rstudio

Add RStudio Project infrastructure


Description

It is likely that you want to use create_project() or create_package() instead of use_rstudio()! Both create_*() functions can add RStudio Project infrastructure to a pre-existing project or package. use_rstudio() is mostly for internal use or for those creating a usethis-like package for their organization. It does the following in the current project, often after executing proj_set(..., force = TRUE):

  • Creates an .Rproj file

  • Adds RStudio files to .gitignore

  • Adds RStudio files to .Rbuildignore, if project is a package

Usage

use_rstudio(line_ending = c("posix", "windows"))

Arguments

line_ending

Line ending


usethis

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.