If you have written many functions, it would be more convenient to build up a package. It is also wonderful to share the tools you created by developing a R package. I will introduce some easy steps to achieve this goal.
Preparation
We need to creat a project for the new package.
Creat a new project
Click these butthons in your Rstudio.
File > New project > New Dictionary > R package
Then you need to edit the DESCRIPTION
file.