<p>An updated <a href="http://dirk.eddelbuettel.com/code/anytime.html">anytime</a> package arrived at <a href="https://cran.r-project.org/">CRAN</a> yesterday. This is release number nine, and the first with a little gap to the prior release on Christmas Eve as the features are stabilizing, as is the implementation.</p>
<p><a href="http://dirk.eddelbuettel.com/code/anytime.html">anytime</a> is a very focused package aiming to do just one thing really well: to convert anything in integer, numeric, character, factor, ordered, ... format to either POSIXct or Date objects -- and to do so without requiring a format string. See the <a href="http://dirk.eddelbuettel.com/code/anytime.html">anytime</a> page, or the <a href="https://github.com/eddelbuettel/anytime">GitHub README.md</a> for a few examples.</p>
<p>This releases addresses two small things related to the <code>anydate()</code> and <code>utcdate()</code> conversion (see below) and adds one nice new format, besides some internal changes detailed below:</p>
<div><pre><code>R><span> </span><span>library</span>(anytime)
R><span> </span><span>anytime</span>(<span>&quot;Thu Sep 01 10:11:12 CDT 2016&quot;</span>)
[<span>1</span>] <span>&quot;2016-09-01 10:11:12 CDT&quot;</span>
R><span> </span><span>anytime</span>(<span>&quot;Thu Sep 01 10:11:12.123456 CDT 2016&quot;</span>) <span># with frac. seconds</span>
[<span>1</span>] <span>&quot;2016-09-01 10:11:12.123456 CDT&quot;</span>
R><span> </span></code></pre></div>
<p>Of course, all commands are also fully vectorised. See the <a href="http://dirk.eddelbuettel.com/code/anytime.html">anytime</a> page, or the <a href="https://github.com/eddelbuettel/anytime">GitHub README.md</a> for more examples.</p>
<blockquote>
<h4>Changes in anytime version 0.2.1 (2017-02-09)</h4>
<ul><li><p>The new <code>DatetimeVector</code> class from <a href="https://cran.r-project.org/package=Rcpp"><span>Rcpp</span></a> is now used, and proper versioned Depends: have been added (<a href="https://github.com/eddelbuettel/anytime/pull/43">#43</a>)</p></li>
<li><p>The <code>anydate</code> and <code>utcdate</code> functions convert again from factor and ordered (<a href="https://github.com/eddelbuettel/anytime/pull/46">#46</a> closing <a href="https://github.com/eddelbuettel/anytime/issues/44">#44</a>)</p></li>
<li><p>A format similar to RFC 28122 but with additonal timezone text can now be parsed (<a href="https://github.com/eddelbuettel/anytime/pull/48">#48</a> closing <a href="https://github.com/eddelbuettel/anytime/issues/47">#47</a>)</p></li>
<li><p>Conversion from <code>POSIXt</code> to <code>Date</code> now also respect the timezone (<a href="https://github.com/eddelbuettel/anytime/pull/50">#50</a> closing <a href="https://github.com/eddelbuettel/anytime/issues/49">#49</a>)</p></li>
<li><p>The internal <code>.onLoad</code> functions was updated</p></li>
<li><p>The Travis setup uses https to fetch the run script</p></li>
</ul></blockquote>
<p>Courtesy of <a href="http://dirk.eddelbuettel.com/cranberries/">CRANberries</a>, there is a comparison to <a href="http://dirk.eddelbuettel.com/cranberries/2017/02/09#anytime_0.2.1">the previous release</a>. More information is on the <a href="http://dirk.eddelbuettel.com/code/anytime.html">anytime</a> page.</p>
<p>For questions or comments use the <a href="https://github.com/eddelbuettel/anytime/issues">issue tracker</a> off the <a href="https://github.com/eddelbuettel/anytime">GitHub repo</a>.</p>
<p>
This post by <a href="http://dirk.eddelbuettel.com/">Dirk Eddelbuettel</a> originated on his <a href="http://dirk.eddelbuettel.com/blog/">Thinking inside the box</a> blog. Please report excessive re-aggregation in third-party for-profit settings.
</p><p>