What is an R package?

  • R packages can be defined based on their utility:
    • A means to bundle code, data, documentation, and tests that can easily be shared with others.
    • A package opens up the use of several workflow packages/tools.
  • R packages can be defined by their structure:
    • Discussed throughout the book club
    • At its core, packages are defined by the conventions of how files and directories are organized: /R; DESCRIPTION file; /tests; /data; etc.
    • At its core, packages are defined by the conventions of how files and directories are organized: /R; DESCRIPTION file; /tests; /data; etc.