Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/kbroman/pkg_primer

R package primer: a minimal tutorial on writing R packages
https://github.com/kbroman/pkg_primer

Last synced: about 2 months ago
JSON representation

R package primer: a minimal tutorial on writing R packages

Awesome Lists containing this project

README

        

## R package primer: a minimal tutorial

R packages are the best way to distribute R code and documentation,
and, despite the impression that the official manual
([Writing R Extensions](https://cran.r-project.org/doc/manuals/r-release/R-exts.html))
might give, they are really are rather simple to create.

Even for code that you don't plan to distribute, you'll find it is
easier to keep track of your own personal R functions if they are in a
package. And it's good to write documentation, even if it's just for
your future self.

[Hadley Wickham](https://hadley.nz) is writing
[a book about the basics of R packages](https://r-pkgs.org/). You might just
jump straight there. But there is value in having a diversity of
resources, so I thought I'd go ahead and write my own minimal tutorial.

View the thing [here](https://kbroman.org/pkg_primer).

---

To the extent possible under law,
[Karl Broman](https://github.com/kbroman)
has waived all copyright and related or neighboring rights to
“[R package primer](https://github.com/kbroman/pkg_primer)”.
This work is published from the United States.


[![CC0](https://i.creativecommons.org/p/zero/1.0/88x31.png)](https://creativecommons.org/publicdomain/zero/1.0/)