EVOLUTION-MANAGER
Edit File: local_edition.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: Temporarily change the active testthat edition</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 local_edition {testthat}"><tr><td>local_edition {testthat}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Temporarily change the active testthat edition</h2> <h3>Description</h3> <p><code>local_edition()</code> allows you to temporarily (within a single test or a single test file) change the active edition of testthat. <code>edition_get()</code> allows you to retrieve the currently active edition. </p> <h3>Usage</h3> <pre> local_edition(x, .env = parent.frame()) edition_get() </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>x</code></td> <td> <p>Edition Should be a single integer.</p> </td></tr> <tr valign="top"><td><code>.env</code></td> <td> <p>Environment that controls scope of changes. For expert use only.</p> </td></tr> </table> <hr /><div style="text-align: center;">[Package <em>testthat</em> version 3.1.5 <a href="00Index.html">Index</a>]</div> </body></html>