2 Required Packages
To follow along with this tutorial, you’ll need to have certain packages installed in your R environment. Specifically, we’ll install devtools
.
You can install it using the install.packages()
function in R. Here’s how you can do it:
This command will also ensure that usethis
is installed. It is is a very important package for package development in R, as it automates many setup tasks. When usethis
is installed, another important package, gh
, is automatically installed as well.
Once installed, load these packages into your R session using the library()
function:
Now that you have these packages installed and loaded, you’re ready to proceed with the tutorial.
Creating R Packages: A Step-by-Step Guide by Ville Langén is licensed under CC BY-SA 4.0