Skip to content

Commit

Permalink
add prereq and open how to create project.
Browse files Browse the repository at this point in the history
  • Loading branch information
avallecam committed Nov 11, 2023
1 parent 690e4df commit 11aa9ea
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion episodes/03-create.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ In this episode, we are going to learn how to initialize Git to create a Local R

Let's start with a new R project in Rstudio.

::::::::::::::::: prereq

### PREREQUISITES

To start, you need to be out of any R project. In Rstudio, close you Project from `File` > `Close Project`. You can confirm this in the upper right corner `Project: (None)`.

::::::::::::::::::::::::

## Create a local repository

Once Git is configured,
Expand All @@ -58,7 +66,9 @@ Courtesy NASA/JPL-Caltech.
[CC BY-SA 3.0](https://creativecommons.org/licenses/by-sa/3.0/deed.en).
-->

First, let's create a new project folder for our work. If using RStudio desktop, the project is opened in a new session. Otherwise, the working directory and active project is changed:
First, let's create a new project folder for our work. Create a new project as you like. Here we are going to use functions from the `{usethis}` package.

If using RStudio desktop, the project is opened in a new session. Otherwise, the working directory and active project is changed:

```r
usethis::create_project(path = "cases")
Expand Down

0 comments on commit 11aa9ea

Please sign in to comment.