title: Author vs Contributor for R package - which role for small code contribution?
body: <p>If someone has provided a useful block of code to an R library, what is the appropriate role for them in package documentation?</p>
  <h3>Why it matters</h3>
  <p>I have seen contributor role given to such cases, but after reviewing the definitions of author and contributor, I believe author is the appropriate role. But there may be something else more appropriate (or perhaps <em>both</em> author/contributor)</p>
  <h3>What <a href="http://www.loc.gov/marc/relators/relaterm.html" rel="noreferrer">library of congress</a> says</h3>
  <p>Author:</p>
  <blockquote>
  <p>A person, family, or organization responsible for creating a work that is primarily textual in content, regardless of media type (e.g., printed text, spoken word, electronic text, tactile text) or genre (e.g., poems, novels, screenplays, blogs). Use also for persons, etc., creating a new work by paraphrasing, rewriting, or adapting works by another creator such that the modification has substantially changed the nature and content of the original or changed the medium of expression</p>
  </blockquote>
  <p>Contributor:</p>
  <blockquote>
  <p>A person, family or organization responsible for making contributions to the resource. This includes those whose work has been contributed to a larger work, such as an anthology, serial publication, or other compilation of individual works. If a more specific role is available, prefer that, e.g. editor, compiler, illustrator</p>
  </blockquote>
  <h3>Possible points of confusion</h3>
  <ul>
  <li>When a pull request is accepted, github will refer to the creator of the PR as a 'contributor'</li>
  <li>In day-to-day conversation, someone who provides useful input into a project could reasonably be called a 'contributor'</li>
  </ul>