Skip to content

Commit

Permalink
v0.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
gagolews committed Sep 3, 2021
1 parent 9660492 commit c918cc8
Show file tree
Hide file tree
Showing 44 changed files with 148 additions and 126 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: stringx
Type: Package
Title: Drop-in Replacements for Base String Functions Powered by 'stringi'
Version: 0.2.1
Date: 2021-08-27
Version: 0.2.2
Date: 2021-09-03
Authors@R: c(
person("Marek", "Gagolewski",
role = c("aut", "cre", "cph"),
Expand Down
5 changes: 5 additions & 0 deletions NEWS
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
> see https://github.com/gagolews/stringx/issues.


## 0.2.2 (2021-09-03)

* [DOCUMENTATION] ICU Project site has been moved to <https://icu.unicode.org/>.


## 0.2.1 (2021-08-27)

* [BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always
Expand Down
2 changes: 1 addition & 1 deletion R/about_stringx.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
#' \url{https://stringi.gagolewski.com/}
#'
#' \emph{ICU -- International Components for Unicode},
#' \url{http://site.icu-project.org/}
#' \url{https://icu.unicode.org/}
#'
#' \emph{The Unicode Consortium},
#' \url{https://home.unicode.org/}
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
> this is no longer the case. This package replaces base R string functions
> with ones that fully support the Unicode standards related to natural
> language and date-time processing. Thanks to
> [ICU (International Components for Unicode)](http://site.icu-project.org/)
> [ICU (International Components for Unicode)](https://icu.unicode.org/)
> and [*stringi*](https://stringi.gagolewski.com/),
> they are fast, reliable, and portable across different platforms.
Expand All @@ -31,7 +31,7 @@
[R](https://www.r-project.org/) package for
fast, consistent, convenient, and portable string/text/natural language
processing in any locale that relies on
[ICU – International Components for Unicode](http://site.icu-project.org/).
[ICU – International Components for Unicode](https://icu.unicode.org/).


--------------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions devel/sphinx/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ stringx: Drop-in replacements for base R string functions powered by stringi
This package replaces base R string functions with ones that fully
support the Unicode standards related to natural language
and date-time processing.
Thanks to `ICU <http://site.icu-project.org/>`_
Thanks to `ICU <https://icu.unicode.org/>`_
(International Components for Unicode) and
`stringi <https://stringi.gagolewski.com/>`_,
they are fast, reliable, and portable across different platforms.
Expand Down Expand Up @@ -89,7 +89,7 @@ Also, a few new, useful operations are introduced.
`R <https://www.r-project.org/>`_ package for
fast, consistent, convenient, and portable string/text/natural language
processing in any locale that relies on
`ICU – International Components for Unicode <http://site.icu-project.org/>`_.
`ICU – International Components for Unicode <https://icu.unicode.org/>`_.

*stringx*'s source code is hosted on
`GitHub <https://github.com/gagolews/stringx>`_ and official releases
Expand Down
5 changes: 5 additions & 0 deletions devel/sphinx/news.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
> see https://github.com/gagolews/stringx/issues.

## 0.2.2 (2021-09-03)

* [DOCUMENTATION] ICU Project site has been moved to <https://icu.unicode.org/>.


## 0.2.1 (2021-08-27)

* [BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always
Expand Down
2 changes: 1 addition & 1 deletion devel/sphinx/rapi/about_stringx.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

*<span class="pkg">stringi</span> Package homepage*, <https://stringi.gagolewski.com/>

*ICU -- International Components for Unicode*, <http://site.icu-project.org/>
*ICU -- International Components for Unicode*, <https://icu.unicode.org/>

*The Unicode Consortium*, <https://home.unicode.org/>

Expand Down
4 changes: 2 additions & 2 deletions devel/sphinx/rapi/sprintf.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ cat(stringx::sprintf("%8s=%+.3f", l, r), sep="\n")
# coercion of the same argument to different types:
stringx::printf(c("UNIX time %1$f is %1$s.", "%1$s is %1$f UNIX time."),
Sys.time())
## UNIX time 1630049516.470000 is 2021-08-27T17:31:56+1000.
## 2021-08-27T17:31:56+1000 is 1630049516.470000 UNIX time.
## UNIX time 1630628750.107000 is 2021-09-03T10:25:50+1000.
## 2021-09-03T10:25:50+1000 is 1630628750.107000 UNIX time.
```
24 changes: 12 additions & 12 deletions devel/sphinx/rapi/strptime.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,26 +135,26 @@ Related function(s): [`sprintf`](sprintf.md), [`ISOdatetime`](ISOdatetime.md)

```r
strftime(Sys.time()) # default format - ISO 8601
## [1] "2021-08-27T17:31:57+1000"
## [1] "2021-09-03T10:25:50+1000"
f <- c("date_full", "%Y-%m-%d", "date_relative_short", "datetime_full")
strftime(Sys.time(), f) # current default locale
## [1] "Friday, 27 August 2021"
## [2] "2021-08-27"
## [3] "today"
## [4] "Friday, 27 August 2021 at 5:31:57 pm Australian Eastern Standard Time"
## [1] "Friday, 3 September 2021"
## [2] "2021-09-03"
## [3] "today"
## [4] "Friday, 3 September 2021 at 10:25:50 am Australian Eastern Standard Time"
strftime(Sys.time(), f, locale="de_DE")
## [1] "Freitag, 27. August 2021"
## [2] "2021-08-27"
## [3] "heute"
## [4] "Freitag, 27. August 2021 um 17:31:57 Ostaustralische Normalzeit"
## [1] "Freitag, 3. September 2021"
## [2] "2021-09-03"
## [3] "heute"
## [4] "Freitag, 3. September 2021 um 10:25:50 Ostaustralische Normalzeit"
strftime(Sys.time(), "date_short", locale="en_IL@calendar=hebrew")
## [1] "19 Elul 5781"
## [1] "26 Elul 5781"
strptime("1970-01-01 00:00:00", "%Y-%m-%d %H:%M:%S", tz="GMT")
## [1] "1970-01-01T00:00:00+0000"
strptime("1970-01-01", "%Y-%m-%d") # missing time info replaced with current
## [1] "1970-01-01T17:31:57+1000"
## [1] "1970-01-01T10:25:50+1000"
strptime("14 Nisan 5703", "date_short", locale="en_IL@calendar=hebrew")
## [1] "1943-04-19T17:31:57+1000"
## [1] "1943-04-19T10:25:50+1000"
as.POSIXxt("1970-01-01")
## [1] "1970-01-01T00:00:00+1000"
as.POSIXxt("1970/01/01 12:00")
Expand Down
4 changes: 2 additions & 2 deletions docs/_sources/index.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ stringx: Drop-in replacements for base R string functions powered by stringi
This package replaces base R string functions with ones that fully
support the Unicode standards related to natural language
and date-time processing.
Thanks to `ICU <http://site.icu-project.org/>`_
Thanks to `ICU <https://icu.unicode.org/>`_
(International Components for Unicode) and
`stringi <https://stringi.gagolewski.com/>`_,
they are fast, reliable, and portable across different platforms.
Expand Down Expand Up @@ -89,7 +89,7 @@ Also, a few new, useful operations are introduced.
`R <https://www.r-project.org/>`_ package for
fast, consistent, convenient, and portable string/text/natural language
processing in any locale that relies on
`ICU – International Components for Unicode <http://site.icu-project.org/>`_.
`ICU – International Components for Unicode <https://icu.unicode.org/>`_.

*stringx*'s source code is hosted on
`GitHub <https://github.com/gagolews/stringx>`_ and official releases
Expand Down
5 changes: 5 additions & 0 deletions docs/_sources/news.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
> see https://github.com/gagolews/stringx/issues.


## 0.2.2 (2021-09-03)

* [DOCUMENTATION] ICU Project site has been moved to <https://icu.unicode.org/>.


## 0.2.1 (2021-08-27)

* [BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always
Expand Down
2 changes: 1 addition & 1 deletion docs/_sources/rapi/about_stringx.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

*<span class="pkg">stringi</span> Package homepage*, <https://stringi.gagolewski.com/>

*ICU -- International Components for Unicode*, <http://site.icu-project.org/>
*ICU -- International Components for Unicode*, <https://icu.unicode.org/>

*The Unicode Consortium*, <https://home.unicode.org/>

Expand Down
4 changes: 2 additions & 2 deletions docs/_sources/rapi/sprintf.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,6 @@ cat(stringx::sprintf("%8s=%+.3f", l, r), sep="\n")
# coercion of the same argument to different types:
stringx::printf(c("UNIX time %1$f is %1$s.", "%1$s is %1$f UNIX time."),
Sys.time())
## UNIX time 1630049516.470000 is 2021-08-27T17:31:56+1000.
## 2021-08-27T17:31:56+1000 is 1630049516.470000 UNIX time.
## UNIX time 1630628750.107000 is 2021-09-03T10:25:50+1000.
## 2021-09-03T10:25:50+1000 is 1630628750.107000 UNIX time.
```
24 changes: 12 additions & 12 deletions docs/_sources/rapi/strptime.md.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,26 +135,26 @@ Related function(s): [`sprintf`](sprintf.md), [`ISOdatetime`](ISOdatetime.md)

```r
strftime(Sys.time()) # default format - ISO 8601
## [1] "2021-08-27T17:31:57+1000"
## [1] "2021-09-03T10:25:50+1000"
f <- c("date_full", "%Y-%m-%d", "date_relative_short", "datetime_full")
strftime(Sys.time(), f) # current default locale
## [1] "Friday, 27 August 2021"
## [2] "2021-08-27"
## [3] "today"
## [4] "Friday, 27 August 2021 at 5:31:57 pm Australian Eastern Standard Time"
## [1] "Friday, 3 September 2021"
## [2] "2021-09-03"
## [3] "today"
## [4] "Friday, 3 September 2021 at 10:25:50 am Australian Eastern Standard Time"
strftime(Sys.time(), f, locale="de_DE")
## [1] "Freitag, 27. August 2021"
## [2] "2021-08-27"
## [3] "heute"
## [4] "Freitag, 27. August 2021 um 17:31:57 Ostaustralische Normalzeit"
## [1] "Freitag, 3. September 2021"
## [2] "2021-09-03"
## [3] "heute"
## [4] "Freitag, 3. September 2021 um 10:25:50 Ostaustralische Normalzeit"
strftime(Sys.time(), "date_short", locale="en_IL@calendar=hebrew")
## [1] "19 Elul 5781"
## [1] "26 Elul 5781"
strptime("1970-01-01 00:00:00", "%Y-%m-%d %H:%M:%S", tz="GMT")
## [1] "1970-01-01T00:00:00+0000"
strptime("1970-01-01", "%Y-%m-%d") # missing time info replaced with current
## [1] "1970-01-01T17:31:57+1000"
## [1] "1970-01-01T10:25:50+1000"
strptime("14 Nisan 5703", "date_short", locale="en_IL@calendar=hebrew")
## [1] "1943-04-19T17:31:57+1000"
## [1] "1943-04-19T10:25:50+1000"
as.POSIXxt("1970-01-01")
## [1] "1970-01-01T00:00:00+1000"
as.POSIXxt("1970/01/01 12:00")
Expand Down
2 changes: 1 addition & 1 deletion docs/_static/documentation_options.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
VERSION: '0.2.1',
VERSION: '0.2.2',
LANGUAGE: 'None',
COLLAPSE_INDEX: false,
BUILDER: 'html',
Expand Down
4 changes: 2 additions & 2 deletions docs/genindex.html
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@


<div class="version">
0.2.1
0.2.2
</div>


Expand Down Expand Up @@ -207,7 +207,7 @@ <h1 id="index">Index</h1>
<p>
&#169; Copyright 2021, Marek Gagolewski.
<span class="lastupdated">
Last updated on 2021-08-27T17:32:03+1000.
Last updated on 2021-09-03T10:25:55+1000.
</span>

</p>
Expand Down
8 changes: 4 additions & 4 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@


<div class="version">
0.2.1
0.2.2
</div>


Expand Down Expand Up @@ -208,7 +208,7 @@ <h1>stringx: Drop-in replacements for base R string functions powered by stringi
This package replaces base R string functions with ones that fully
support the Unicode standards related to natural language
and date-time processing.
Thanks to <a class="reference external" href="http://site.icu-project.org/">ICU</a>
Thanks to <a class="reference external" href="https://icu.unicode.org/">ICU</a>
(International Components for Unicode) and
<a class="reference external" href="https://stringi.gagolewski.com/">stringi</a>,
they are fast, reliable, and portable across different platforms.</p>
Expand Down Expand Up @@ -264,7 +264,7 @@ <h1>stringx: Drop-in replacements for base R string functions powered by stringi
<a class="reference external" href="https://www.r-project.org/">R</a> package for
fast, consistent, convenient, and portable string/text/natural language
processing in any locale that relies on
<a class="reference external" href="http://site.icu-project.org/">ICU – International Components for Unicode</a>.</p>
<a class="reference external" href="https://icu.unicode.org/">ICU – International Components for Unicode</a>.</p>
<p><em>stringx</em>’s source code is hosted on
<a class="reference external" href="https://github.com/gagolews/stringx">GitHub</a> and official releases
are available on <a class="reference external" href="https://cran.r-project.org/package=stringx">CRAN</a>.
Expand Down Expand Up @@ -326,7 +326,7 @@ <h1>stringx: Drop-in replacements for base R string functions powered by stringi
<p>
&#169; Copyright 2021, Marek Gagolewski.
<span class="lastupdated">
Last updated on 2021-08-27T17:32:03+1000.
Last updated on 2021-09-03T10:25:55+1000.
</span>

</p>
Expand Down
39 changes: 23 additions & 16 deletions docs/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@


<div class="version">
0.2.1
0.2.2
</div>


Expand Down Expand Up @@ -124,11 +124,12 @@
<li class="toctree-l1"><a class="reference external" href="https://cran.r-project.org/package=stringx">CRAN Entry</a></li>
<li class="toctree-l1"><a class="reference external" href="https://www.gagolewski.com/">Author's Homepage</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">What Is New in <em>stringx</em></a><ul>
<li class="toctree-l2"><a class="reference internal" href="#id1">0.2.1 (2021-08-27)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id2">0.1.3 (2021-08-05)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id3">0.1.2 (2021-07-27)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id4">0.1.1 (2021-07-15)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id5">0.0.0 (2021-05-07)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id1">0.2.2 (2021-09-03)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id2">0.2.1 (2021-08-27)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id3">0.1.3 (2021-08-05)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id4">0.1.2 (2021-07-27)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id5">0.1.1 (2021-07-15)</a></li>
<li class="toctree-l2"><a class="reference internal" href="#id6">0.0.0 (2021-05-07)</a></li>
</ul>
</li>
</ul>
Expand Down Expand Up @@ -211,7 +212,13 @@ <h1>What Is New in <em>stringx</em><a class="headerlink" href="#what-is-new-in-s
see https://github.com/gagolews/stringx/issues.</p>
</div></blockquote>
<div class="section" id="id1">
<h2>0.2.1 (2021-08-27)<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h2>
<h2>0.2.2 (2021-09-03)<a class="headerlink" href="#id1" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>[DOCUMENTATION] ICU Project site has been moved to <a class="reference external" href="https://icu.unicode.org/">https://icu.unicode.org/</a>.</p></li>
</ul>
</div>
<div class="section" id="id2">
<h2>0.2.1 (2021-08-27)<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>[BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always
treated as being at midnight in the local (default) time zone.</p></li>
Expand All @@ -225,21 +232,21 @@ <h2>0.2.1 (2021-08-27)<a class="headerlink" href="#id1" title="Permalink to this
<code class="docutils literal notranslate"><span class="pre">c.POSIXxt</span></code>, <code class="docutils literal notranslate"><span class="pre">rep.POSIXxt</span></code>, <code class="docutils literal notranslate"><span class="pre">seq.POSIXxt</span></code>.</p></li>
</ul>
</div>
<div class="section" id="id2">
<h2>0.1.3 (2021-08-05)<a class="headerlink" href="#id2" title="Permalink to this headline"></a></h2>
<div class="section" id="id3">
<h2>0.1.3 (2021-08-05)<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>[BUGFIX] #4: Fixed failing check with ICU 55.</p></li>
<li><p>[BUGFIX] #5: Fixed failing check under POSIX/C locale.</p></li>
</ul>
</div>
<div class="section" id="id3">
<h2>0.1.2 (2021-07-27)<a class="headerlink" href="#id3" title="Permalink to this headline"></a></h2>
<div class="section" id="id4">
<h2>0.1.2 (2021-07-27)<a class="headerlink" href="#id4" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>First <a class="reference external" href="https://cran.r-project.org/package=stringx">CRAN</a> release.</p></li>
</ul>
</div>
<div class="section" id="id4">
<h2>0.1.1 (2021-07-15)<a class="headerlink" href="#id4" title="Permalink to this headline"></a></h2>
<div class="section" id="id5">
<h2>0.1.1 (2021-07-15)<a class="headerlink" href="#id5" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>[GENERAL] <a class="reference external" href="https://stringx.gagolewski.com">On-line manual</a> is now available.</p></li>
<li><p>[GENERAL] Using <a class="reference external" href="https://realtest.gagolewski.com"><em>realtest</em></a>
Expand Down Expand Up @@ -281,8 +288,8 @@ <h2>0.1.1 (2021-07-15)<a class="headerlink" href="#id4" title="Permalink to this
<code class="docutils literal notranslate"><span class="pre">regexec</span></code>, <code class="docutils literal notranslate"><span class="pre">gregexec</span></code>.</p></li>
</ul>
</div>
<div class="section" id="id5">
<h2>0.0.0 (2021-05-07)<a class="headerlink" href="#id5" title="Permalink to this headline"></a></h2>
<div class="section" id="id6">
<h2>0.0.0 (2021-05-07)<a class="headerlink" href="#id6" title="Permalink to this headline"></a></h2>
<ul class="simple">
<li><p>The <em>stringx</em> project has been started.</p></li>
</ul>
Expand All @@ -304,7 +311,7 @@ <h2>0.0.0 (2021-05-07)<a class="headerlink" href="#id5" title="Permalink to this
<p>
&#169; Copyright 2021, Marek Gagolewski.
<span class="lastupdated">
Last updated on 2021-08-27T17:32:03+1000.
Last updated on 2021-09-03T10:25:55+1000.
</span>

</p>
Expand Down
2 changes: 1 addition & 1 deletion docs/objects.inv
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sphinx inventory version 2
# Project: stringx
# Version: 0.2.1
# Version: 0.2.2
# The remainder of this file is compressed using zlib.
xڅ��n�0 ��y
�@6����v(�-A\ �A��ث- ��o?R��8v�K�?}�I�9�iL�T�:` �op��/5u-<����UVK�MD ߘӥ�oݺ1�ѵJc�����
Expand Down
Loading

0 comments on commit c918cc8

Please sign in to comment.