Writing an R package

Author

Richard J Telford

Published

June 24, 2022

1 Introduction

This tutorial will show you how to write your own R package.

Before you start

You will need to have installed

1.1 Why write your own package

  • Publish code that implements novel statistical method
  • Code to import data from, for example, a logger
  • Wrap up various functions that you want to reuse