![]() R has a namespace management system for code in packages. The ‘Package’, ‘Version’, ‘License’, ‘Description’, ‘Title’, ‘Author’, and ‘Maintainer’ fields are mandatory, all other fields are optional. The ‘DESCRIPTION’ file contains basic information about the package. The base package.skeleton() function creates all the required directories. The sources of a R package consists of a subdirectory containing some files and directories in a well organized structure.įiles ‘DESCRIPTION’ and ‘NAMESPACE’ and subdirectories ‘R’, ‘man’, and ‘data’ are required for every package.
0 Comments
Leave a Reply. |