Skip to content

Commit 4bd0c3b

Browse files
Merge pull request #10 from openstatsware/edits-r-packages
Edits to R packages slides
2 parents e8479cd + 5b1790f commit 4bd0c3b

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

slides/02_r_packages.qmd

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ Nowadays, it's super fast with:
7272
- Check CRAN to see if your name is available
7373
- *Title*: Add a Title for Your Package (Title Case)
7474
- *Version*: Start with a low package version
75-
- `Major.Minor.Patch` syntax
75+
- `Major.Minor.Patch` syntax ([Semantic Versioning](https://semver.org/))
7676
- *Authors@R*: Add authors and maintainer
7777
- *Description*: Like an abstract, including references
7878

@@ -351,13 +351,15 @@ readr::read_csv(here::here("slides/resources/keyboard-shortcuts.csv"), col_types
351351

352352
1. Set up a new R package with a fancy name
353353
1. Fill out the `DESCRIPTION` file
354-
1. Include a new function
354+
1. Include a few functions
355355
1. Add `roxygen2` documentation
356356
1. Export the function to the namespace
357357
1. Produce the package documentation
358358
1. Run checks
359359
1. Build the package
360360

361+
> We will be using this package throughout the day!
362+
361363
# References
362364

363365
- [R Packages (2e)](https://r-pkgs.org/)

0 commit comments

Comments
 (0)