EVOLUTION-MANAGER
Edit File: desc_coerce_authors_at_r.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Coerce Author and Maintainer Fields to Authors@R</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for desc_coerce_authors_at_r {desc}"><tr><td>desc_coerce_authors_at_r {desc}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Coerce Author and Maintainer Fields to Authors@R</h2> <h3>Description</h3> <p>Convert the <code>Author</code> and <code>Maintainer</code> fields to <code>Authors@R</code>, which is necessary for other functions such as <code>desc_get_authors()</code>. </p> <h3>Usage</h3> <pre> desc_coerce_authors_at_r(file = ".", normalize = FALSE) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>file</code></td> <td> <p>DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.</p> </td></tr> <tr valign="top"><td><code>normalize</code></td> <td> <p>Whether to "normalize" (reorder and reformat) the fields when writing back the result. See <code><a href="desc_normalize.html">desc_normalize()</a></code>.</p> </td></tr> </table> <h3>Details</h3> <p>If the <code>Authors@R</code> field does not exist, <code>desc_coerce_authors_at_r</code> tries to parse the <code>Author</code> and <code>Maintainer</code> fields with <code><a href="../../utils/html/person.html">utils::as.person()</a></code> and writes them to the <code>Authors@R</code> field. Note that <code>Author</code> and <code>Maintainer</code> are free-form fields, so parsing them may fail. </p> <h3>See Also</h3> <p>Other Authors@R: <code><a href="desc_add_author_gh.html">desc_add_author_gh</a>()</code>, <code><a href="desc_add_author.html">desc_add_author</a>()</code>, <code><a href="desc_add_me.html">desc_add_me</a>()</code>, <code><a href="desc_add_orcid.html">desc_add_orcid</a>()</code>, <code><a href="desc_add_role.html">desc_add_role</a>()</code>, <code><a href="desc_change_maintainer.html">desc_change_maintainer</a>()</code>, <code><a href="desc_del_author.html">desc_del_author</a>()</code>, <code><a href="desc_del_role.html">desc_del_role</a>()</code>, <code><a href="desc_get_authors.html">desc_get_authors</a>()</code>, <code><a href="desc_get_author.html">desc_get_author</a>()</code>, <code><a href="desc_get_maintainer.html">desc_get_maintainer</a>()</code>, <code><a href="desc_set_authors.html">desc_set_authors</a>()</code> </p> <hr /><div style="text-align: center;">[Package <em>desc</em> version 1.4.2 <a href="00Index.html">Index</a>]</div> </body></html>