Skip to Content Fork me on GitHub

Create a package of personal toolbox

Your frequently used R snippets will be accessed through an R package.

Posted on One min read

Prerequisite

  • Read a short tutorial of building R packages, such as this one.

It is not necessary to finish reading the Hadley Wickham’s whole book, R package, before you start the project.

Requirement

Objective: Build an R package containing your frequently used R code.

Here is an example from Yihui Xie.

Rule: Don’t look at the example project’s code. Figure it out for yourself first.

Use whichever libraries you need. Give it your own personal style.

Optional:

Remember to ask questions in Discord if you get stuck.

Advanced