Skip to content

Commit

Permalink
Update pkg_building.Rmd
Browse files Browse the repository at this point in the history
The link to the code chapter in The R Packages Book did not work, presumably because of the uppercase in `Code.html`. With this modification it works.
  • Loading branch information
osorensen authored Sep 20, 2023
1 parent 0bddf4c commit 32127aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg_building.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ The [`tabulizer` package](https://github.com/ropensci/tabulizer) e.g. has an int

## Code Style {#code-style}

- For more information on how to style your code, name functions, and R scripts inside the `R/` folder, we recommend reading the [code chapter in The R Packages book](https://r-pkgs.org/Code.html). We recommend the [`styler` package](https://github.com/r-lib/styler) for automating part of the code styling. We suggest reading the [Tidyverse style guide](https://style.tidyverse.org/).
- For more information on how to style your code, name functions, and R scripts inside the `R/` folder, we recommend reading the [code chapter in The R Packages book](https://r-pkgs.org/code.html). We recommend the [`styler` package](https://github.com/r-lib/styler) for automating part of the code styling. We suggest reading the [Tidyverse style guide](https://style.tidyverse.org/).

- You can choose to use `=` over `<-` as long you are consistent with one choice within your package. We recommend avoiding the use of `->` for assignment within a package. If you do use `<-` throughout your package, and you also use `R6` in that package, you'll be forced to use `=` for assignment within your `R6Class` construction - this is not considered an inconsistency because you can't use `<-` in this case.

Expand Down

0 comments on commit 32127aa

Please sign in to comment.