Creating R Packages: A Step-by-Step Guide
16.06.2024
1 Introduction
Welcome to this tutorial on developing R packages! Whether you’re new to package development or looking to refine your skills, this guide will equip you with essential knowledge and practical steps.
Using tools like devtools
, usethis
, and roxygen2
, you’ll learn how to structure your package, write functions, and document them thoroughly. The tutorial is arranged sequentially, guiding you from setting up your development environment to publishing your package on GitHub. Each chapter focuses on a specific aspect of package development and builds upon the previous one, ensuring you grasp both the theory and practical implementation.
After first completing the tutorial in order, you’ll be well-equipped to revisit specific chapters as needed should you forget certain elements of package development.
By the end of this tutorial, you’ll have the skills to independently develop, document, and share your R packages, contributing valuable tools to the R community.
Creating R Packages: A Step-by-Step Guide by Ville Langén is licensed under CC BY-SA 4.0