Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrin Leinweber committed Apr 8, 2019
1 parent 933349d commit c6d69b4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion _episodes_rmd/01-intro-rstudio.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ on if needed. You can copy-paste into the R console, but the RStudio script
editor allows you to 'send' the current line or the currently selected text to
the R console using the <kbd>Ctrl</kbd>+<kbd>Return</kbd> shortcut.

At some point in your analysis you may want to check the content of variable or
At some point in your analysis you may want to check the content of variable a or
the structure of an object, without necessarily keep a record of it in your
script. You can type these commands directly in the console. RStudio provides
the <kbd>Ctrl</kbd>+<kbd>1</kbd> and <kbd>Ctrl</kbd>+<kbd>2</kbd> shortcuts allow you to jump between the script and the
Expand Down
4 changes: 2 additions & 2 deletions _episodes_rmd/05-making-packages-R.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ After `Install and Restart`-ing again, looking up the documentation should work.
What exactly does `roxygen2` do? It reads lines that begin with `#'` as the function documentation for your package.
Descriptive tags are preceded with the `@` symbol. For example, `@param` has information about the input parameters for the function.

### Exporting "user-level" function
### Exporting "user-level" functions

We haven't talked about the `NAMESPACE` file yet! It belongs to the package skeleton,
and was set up by RStudio with an `exportPattern`. Any file name in `R/` that
Expand All @@ -205,7 +205,7 @@ Learn more about this from the ["R packages" book][r-pkgs-name].

### Finishing up

Please take a look at RStudio's `Files` panes now. The `/man` directory should
Please take a look at RStudio's `Files` panes now. The `man/` directory should
now contain one LaTeX-like formatted `.Rd` file for each function.

In case you learned about Git already, also view the `.Rd` files in RStudio's
Expand Down

0 comments on commit c6d69b4

Please sign in to comment.