Each R package includes a number of functions and/or datasets with the objective of making it a tool in its own right. It allows you to share with people resources that are not available in the basic R features and that you have developed to meet your needs.
Please note: the Write and publish your work in an R-package training is offered on a regular basis by the SMCS and aims, as its name suggests, to teach participants how to create and publish R packages.