Skip to content

Commit

Permalink
tiny typos & style
Browse files Browse the repository at this point in the history
  • Loading branch information
petrpajdla committed Jun 13, 2021
1 parent 20aa9f4 commit c482263
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions slides/01_slides_intro.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ editor_options:
## short introduction

Please tell us in one sentence:

- Who you are and what you hope to gain from this workshop

## Reasons to create R packages
Expand Down
3 changes: 1 addition & 2 deletions slides/03_slides_Rpackage_structure.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ use:
- NAMESPACE file

## R/
- the "heart" of the package: all you beautiful functions live here
- the "heart" of the package: all your beautiful functions live here
- each script ends on .R
- what goes in one file?
- if a function is very large, it may live alone
Expand Down Expand Up @@ -251,7 +251,6 @@ load_all()
```{r}
# option 1 (then you should also put utils in Imports)
utils::globalVariables(c("a"))
# option 2
a <- NULL
```
Expand Down
2 changes: 1 addition & 1 deletion slides/08_slides_wrap_up.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ knitr::opts_chunk$set(eval = FALSE)

- `devtools`
- `usethis`
- `roxygen`
- `roxygen2`

## The basic `R` package directory tree

Expand Down

0 comments on commit c482263

Please sign in to comment.