diff --git a/.devel/sphinx/_build/doctrees/environment.pickle b/.devel/sphinx/_build/doctrees/environment.pickle index b93e307..778b051 100644 Binary files a/.devel/sphinx/_build/doctrees/environment.pickle and b/.devel/sphinx/_build/doctrees/environment.pickle differ diff --git a/.devel/sphinx/_build/doctrees/news.doctree b/.devel/sphinx/_build/doctrees/news.doctree index f3b9391..82c704a 100644 Binary files a/.devel/sphinx/_build/doctrees/news.doctree and b/.devel/sphinx/_build/doctrees/news.doctree differ diff --git a/.devel/sphinx/_build/doctrees/rapi/sprintf.doctree b/.devel/sphinx/_build/doctrees/rapi/sprintf.doctree index b7067d7..0ee776c 100644 Binary files a/.devel/sphinx/_build/doctrees/rapi/sprintf.doctree and b/.devel/sphinx/_build/doctrees/rapi/sprintf.doctree differ diff --git a/.devel/sphinx/_build/doctrees/rapi/strptime.doctree b/.devel/sphinx/_build/doctrees/rapi/strptime.doctree index 2f8b698..4b22849 100644 Binary files a/.devel/sphinx/_build/doctrees/rapi/strptime.doctree and b/.devel/sphinx/_build/doctrees/rapi/strptime.doctree differ diff --git a/.devel/sphinx/_build/html/_sources/news.md.txt b/.devel/sphinx/_build/html/_sources/news.md.txt index e0ac525..de75ed3 100644 --- a/.devel/sphinx/_build/html/_sources/news.md.txt +++ b/.devel/sphinx/_build/html/_sources/news.md.txt @@ -5,10 +5,14 @@ > see https://github.com/gagolews/stringx/issues. +## 0.2.4 (2022-10-27) + +* [BUGFIX] Fixed failing checks/tests due to some updates in R-devel. + ## 0.2.3 (2022-10-13) -* [BUGFIX] Fixed failing checks/tests. +* [BUGFIX] Fixed failing checks/tests due to some updates in R-devel. ## 0.2.2 (2021-09-03) diff --git a/.devel/sphinx/_build/html/_sources/rapi/sprintf.md.txt b/.devel/sphinx/_build/html/_sources/rapi/sprintf.md.txt index 6e270ae..5c8bbce 100644 --- a/.devel/sphinx/_build/html/_sources/rapi/sprintf.md.txt +++ b/.devel/sphinx/_build/html/_sources/rapi/sprintf.md.txt @@ -71,7 +71,7 @@ Related function(s): [`paste`](paste.md), [`strrep`](strrep.md), [`strtrim`](str ```r -# UTF-8 number of bytes vs. Unicode code point width: +# UTF-8 number of bytes vs Unicode code point width: l <- c("e", "e\u00b2", "\u03c0", "\u03c0\u00b2", "\U0001f602\U0001f603") r <- c(exp(1), exp(2), pi, pi^2, NaN) cat(base::sprintf("%8s=%+.3f", l, r), sep="\n") @@ -86,9 +86,4 @@ cat(stringx::sprintf("%8s=%+.3f", l, r), sep="\n") ## π=+3.142 ## π²=+9.870 ## 😂😃= NaN -# 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 1665630159.556000 is 2022-10-13T14:02:39+1100. -## 2022-10-13T14:02:39+1100 is 1665630159.556000 UNIX time. ``` diff --git a/.devel/sphinx/_build/html/_sources/rapi/strptime.md.txt b/.devel/sphinx/_build/html/_sources/rapi/strptime.md.txt index 32fb89f..2999d69 100644 --- a/.devel/sphinx/_build/html/_sources/rapi/strptime.md.txt +++ b/.devel/sphinx/_build/html/_sources/rapi/strptime.md.txt @@ -135,26 +135,26 @@ Related function(s): [`sprintf`](sprintf.md), [`ISOdatetime`](ISOdatetime.md) ```r strftime(Sys.time()) # default format - ISO 8601 -## [1] "2022-10-13T14:02:40+1100" +## [1] "2022-10-27T13:27:57+1100" f <- c("date_full", "%Y-%m-%d", "date_relative_short", "datetime_full") strftime(Sys.time(), f) # current default locale -## [1] "Thursday, October 13, 2022" -## [2] "2022-10-13" +## [1] "Thursday, October 27, 2022" +## [2] "2022-10-27" ## [3] "today" -## [4] "Thursday, October 13, 2022 at 2:02:40 PM Australian Eastern Daylight Time" +## [4] "Thursday, October 27, 2022 at 1:27:57 PM Australian Eastern Daylight Time" strftime(Sys.time(), f, locale="de_DE") -## [1] "Donnerstag, 13. Oktober 2022" -## [2] "2022-10-13" +## [1] "Donnerstag, 27. Oktober 2022" +## [2] "2022-10-27" ## [3] "heute" -## [4] "Donnerstag, 13. Oktober 2022 um 14:02:40 Ostaustralische Sommerzeit" +## [4] "Donnerstag, 27. Oktober 2022 um 13:27:57 Ostaustralische Sommerzeit" strftime(Sys.time(), "date_short", locale="en_IL@calendar=hebrew") -## [1] "18 Tishri 5783" +## [1] "2 Heshvan 5783" 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-01T14:02:40+1000" +## [1] "1970-01-01T13:27:57+1000" strptime("14 Nisan 5703", "date_short", locale="en_IL@calendar=hebrew") -## [1] "1943-04-19T14:02:40+1000" +## [1] "1943-04-19T13:27:57+1000" as.POSIXxt("1970-01-01") ## [1] "1970-01-01T00:00:00+1000" as.POSIXxt("1970/01/01 12:00") diff --git a/.devel/sphinx/_build/html/_static/documentation_options.js b/.devel/sphinx/_build/html/_static/documentation_options.js index 5d370c6..4ef9d09 100644 --- a/.devel/sphinx/_build/html/_static/documentation_options.js +++ b/.devel/sphinx/_build/html/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '0.2.3', + VERSION: '0.2.4', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/.devel/sphinx/_build/html/genindex.html b/.devel/sphinx/_build/html/genindex.html index 7993920..fc09d97 100644 --- a/.devel/sphinx/_build/html/genindex.html +++ b/.devel/sphinx/_build/html/genindex.html @@ -67,7 +67,7 @@
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
[BUGFIX] Fixed failing checks/tests.
[BUGFIX] Fixed failing checks/tests due to some updates in R-devel.
[DOCUMENTATION] ICU Project site has been moved to https://icu.unicode.org/.
[BUGFIX] Fixed failing checks/tests due to some updates in R-devel.
[DOCUMENTATION] ICU Project site has been moved to https://icu.unicode.org/.
[BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always treated as being at midnight in the local (default) time zone.
rep.POSIXxt
, seq.POSIXxt
.
[BUGFIX] #4: Fixed failing check with ICU 55.
[BUGFIX] #5: Fixed failing check under POSIX/C locale.
First CRAN release.
[GENERAL] On-line manual is now available.
[GENERAL] Using realtest @@ -266,8 +273,8 @@
gregexec
.The stringx project has been started.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/objects.inv b/.devel/sphinx/_build/html/objects.inv index bf70c03..1803dd2 100644 --- a/.devel/sphinx/_build/html/objects.inv +++ b/.devel/sphinx/_build/html/objects.inv @@ -1,6 +1,6 @@ # Sphinx inventory version 2 # Project: stringx -# Version: 0.2.3 +# Version: 0.2.4 # The remainder of this file is compressed using zlib. xڅn0y @6v(-A\ Aث- o?R8vK?}I9iLT:`op/5u-© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/ISOdatetime.html b/.devel/sphinx/_build/html/rapi/ISOdatetime.html index 3713e0c..f270fb2 100644 --- a/.devel/sphinx/_build/html/rapi/ISOdatetime.html +++ b/.devel/sphinx/_build/html/rapi/ISOdatetime.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/about_stringx.html b/.devel/sphinx/_build/html/rapi/about_stringx.html index 7dc347e..828bf1e 100644 --- a/.devel/sphinx/_build/html/rapi/about_stringx.html +++ b/.devel/sphinx/_build/html/rapi/about_stringx.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/chartr.html b/.devel/sphinx/_build/html/rapi/chartr.html index 9fa3da5..49d7cb3 100644 --- a/.devel/sphinx/_build/html/rapi/chartr.html +++ b/.devel/sphinx/_build/html/rapi/chartr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/constants.html b/.devel/sphinx/_build/html/rapi/constants.html index 67a8a35..1dac2cd 100644 --- a/.devel/sphinx/_build/html/rapi/constants.html +++ b/.devel/sphinx/_build/html/rapi/constants.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/gregexpr.html b/.devel/sphinx/_build/html/rapi/gregexpr.html index dff5cba..7b45dd3 100644 --- a/.devel/sphinx/_build/html/rapi/gregexpr.html +++ b/.devel/sphinx/_build/html/rapi/gregexpr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/gregextr.html b/.devel/sphinx/_build/html/rapi/gregextr.html index 2523796..228e6b4 100644 --- a/.devel/sphinx/_build/html/rapi/gregextr.html +++ b/.devel/sphinx/_build/html/rapi/gregextr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/grepl.html b/.devel/sphinx/_build/html/rapi/grepl.html index c1748db..508b4fa 100644 --- a/.devel/sphinx/_build/html/rapi/grepl.html +++ b/.devel/sphinx/_build/html/rapi/grepl.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/gsub.html b/.devel/sphinx/_build/html/rapi/gsub.html index ed1f318..a1dd3b6 100644 --- a/.devel/sphinx/_build/html/rapi/gsub.html +++ b/.devel/sphinx/_build/html/rapi/gsub.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/nchar.html b/.devel/sphinx/_build/html/rapi/nchar.html index bd20ac2..56aa78a 100644 --- a/.devel/sphinx/_build/html/rapi/nchar.html +++ b/.devel/sphinx/_build/html/rapi/nchar.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/paste.html b/.devel/sphinx/_build/html/rapi/paste.html index c9d2f2b..6ae93fd 100644 --- a/.devel/sphinx/_build/html/rapi/paste.html +++ b/.devel/sphinx/_build/html/rapi/paste.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/sort.html b/.devel/sphinx/_build/html/rapi/sort.html index d4b1179..75c7f31 100644 --- a/.devel/sphinx/_build/html/rapi/sort.html +++ b/.devel/sphinx/_build/html/rapi/sort.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/sprintf.html b/.devel/sphinx/_build/html/rapi/sprintf.html index 1a7366b..68ce9ff 100644 --- a/.devel/sphinx/_build/html/rapi/sprintf.html +++ b/.devel/sphinx/_build/html/rapi/sprintf.html @@ -70,7 +70,7 @@# UTF-8 number of bytes vs. Unicode code point width:
+# UTF-8 number of bytes vs Unicode code point width:
l <- c("e", "e\u00b2", "\u03c0", "\u03c0\u00b2", "\U0001f602\U0001f603")
r <- c(exp(1), exp(2), pi, pi^2, NaN)
cat(base::sprintf("%8s=%+.3f", l, r), sep="\n")
@@ -274,11 +274,6 @@ Examples## π=+3.142
## π²=+9.870
## 😂😃= NaN
-# 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 1665630159.556000 is 2022-10-13T14:02:39+1100.
-## 2022-10-13T14:02:39+1100 is 1665630159.556000 UNIX time.
@@ -297,7 +292,7 @@ Examples
© Copyright 2021-2022, Marek Gagolewski.
- Last updated on 2022-10-13T14:02:44+1100.
+ Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/strptime.html b/.devel/sphinx/_build/html/rapi/strptime.html index 430caeb..62bc31e 100644 --- a/.devel/sphinx/_build/html/rapi/strptime.html +++ b/.devel/sphinx/_build/html/rapi/strptime.html @@ -70,7 +70,7 @@strftime(Sys.time()) # default format - ISO 8601
-## [1] "2022-10-13T14:02:40+1100"
+## [1] "2022-10-27T13:27:57+1100"
f <- c("date_full", "%Y-%m-%d", "date_relative_short", "datetime_full")
strftime(Sys.time(), f) # current default locale
-## [1] "Thursday, October 13, 2022"
-## [2] "2022-10-13"
+## [1] "Thursday, October 27, 2022"
+## [2] "2022-10-27"
## [3] "today"
-## [4] "Thursday, October 13, 2022 at 2:02:40 PM Australian Eastern Daylight Time"
+## [4] "Thursday, October 27, 2022 at 1:27:57 PM Australian Eastern Daylight Time"
strftime(Sys.time(), f, locale="de_DE")
-## [1] "Donnerstag, 13. Oktober 2022"
-## [2] "2022-10-13"
+## [1] "Donnerstag, 27. Oktober 2022"
+## [2] "2022-10-27"
## [3] "heute"
-## [4] "Donnerstag, 13. Oktober 2022 um 14:02:40 Ostaustralische Sommerzeit"
+## [4] "Donnerstag, 27. Oktober 2022 um 13:27:57 Ostaustralische Sommerzeit"
strftime(Sys.time(), "date_short", locale="en_IL@calendar=hebrew")
-## [1] "18 Tishri 5783"
+## [1] "2 Heshvan 5783"
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-01T14:02:40+1000"
+## [1] "1970-01-01T13:27:57+1000"
strptime("14 Nisan 5703", "date_short", locale="en_IL@calendar=hebrew")
-## [1] "1943-04-19T14:02:40+1000"
+## [1] "1943-04-19T13:27:57+1000"
as.POSIXxt("1970-01-01")
## [1] "1970-01-01T00:00:00+1000"
as.POSIXxt("1970/01/01 12:00")
@@ -364,7 +364,7 @@ Examples
© Copyright 2021-2022, Marek Gagolewski.
- Last updated on 2022-10-13T14:02:44+1100.
+ Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/strtrim.html b/.devel/sphinx/_build/html/rapi/strtrim.html index 9b54b71..95ff24e 100644 --- a/.devel/sphinx/_build/html/rapi/strtrim.html +++ b/.devel/sphinx/_build/html/rapi/strtrim.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/strwrap.html b/.devel/sphinx/_build/html/rapi/strwrap.html index 61366ed..ff9fea2 100644 --- a/.devel/sphinx/_build/html/rapi/strwrap.html +++ b/.devel/sphinx/_build/html/rapi/strwrap.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/substr.html b/.devel/sphinx/_build/html/rapi/substr.html index 4516d15..88f8bd9 100644 --- a/.devel/sphinx/_build/html/rapi/substr.html +++ b/.devel/sphinx/_build/html/rapi/substr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/rapi/trimws.html b/.devel/sphinx/_build/html/rapi/trimws.html index b72be7f..37139d8 100644 --- a/.devel/sphinx/_build/html/rapi/trimws.html +++ b/.devel/sphinx/_build/html/rapi/trimws.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/.devel/sphinx/_build/html/search.html b/.devel/sphinx/_build/html/search.html index 99d3b1e..aab1045 100644 --- a/.devel/sphinx/_build/html/search.html +++ b/.devel/sphinx/_build/html/search.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
[BUGFIX] Fixed failing checks/tests.
[BUGFIX] Fixed failing checks/tests due to some updates in R-devel.
[DOCUMENTATION] ICU Project site has been moved to https://icu.unicode.org/.
[BUGFIX] Fixed failing checks/tests due to some updates in R-devel.
[DOCUMENTATION] ICU Project site has been moved to https://icu.unicode.org/.
[BACKWARD INCOMPATIBILITY, BUGFIX] #7: Dates without times are now always treated as being at midnight in the local (default) time zone.
rep.POSIXxt
, seq.POSIXxt
.
[BUGFIX] #4: Fixed failing check with ICU 55.
[BUGFIX] #5: Fixed failing check under POSIX/C locale.
First CRAN release.
[GENERAL] On-line manual is now available.
[GENERAL] Using realtest @@ -266,8 +273,8 @@
gregexec
.The stringx project has been started.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/objects.inv b/docs/objects.inv index bf70c03..1803dd2 100644 --- a/docs/objects.inv +++ b/docs/objects.inv @@ -1,6 +1,6 @@ # Sphinx inventory version 2 # Project: stringx -# Version: 0.2.3 +# Version: 0.2.4 # The remainder of this file is compressed using zlib. xڅn0y @6v(-A\ Aث- o?R8vK?}I9iLT:`op/5u-© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/ISOdatetime.html b/docs/rapi/ISOdatetime.html index 3713e0c..f270fb2 100644 --- a/docs/rapi/ISOdatetime.html +++ b/docs/rapi/ISOdatetime.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/about_stringx.html b/docs/rapi/about_stringx.html index 7dc347e..828bf1e 100644 --- a/docs/rapi/about_stringx.html +++ b/docs/rapi/about_stringx.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/chartr.html b/docs/rapi/chartr.html index 9fa3da5..49d7cb3 100644 --- a/docs/rapi/chartr.html +++ b/docs/rapi/chartr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/constants.html b/docs/rapi/constants.html index 67a8a35..1dac2cd 100644 --- a/docs/rapi/constants.html +++ b/docs/rapi/constants.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/gregexpr.html b/docs/rapi/gregexpr.html index dff5cba..7b45dd3 100644 --- a/docs/rapi/gregexpr.html +++ b/docs/rapi/gregexpr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/gregextr.html b/docs/rapi/gregextr.html index 2523796..228e6b4 100644 --- a/docs/rapi/gregextr.html +++ b/docs/rapi/gregextr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/grepl.html b/docs/rapi/grepl.html index c1748db..508b4fa 100644 --- a/docs/rapi/grepl.html +++ b/docs/rapi/grepl.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/gsub.html b/docs/rapi/gsub.html index ed1f318..a1dd3b6 100644 --- a/docs/rapi/gsub.html +++ b/docs/rapi/gsub.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/nchar.html b/docs/rapi/nchar.html index bd20ac2..56aa78a 100644 --- a/docs/rapi/nchar.html +++ b/docs/rapi/nchar.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/paste.html b/docs/rapi/paste.html index c9d2f2b..6ae93fd 100644 --- a/docs/rapi/paste.html +++ b/docs/rapi/paste.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/sort.html b/docs/rapi/sort.html index d4b1179..75c7f31 100644 --- a/docs/rapi/sort.html +++ b/docs/rapi/sort.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/sprintf.html b/docs/rapi/sprintf.html index 1a7366b..68ce9ff 100644 --- a/docs/rapi/sprintf.html +++ b/docs/rapi/sprintf.html @@ -70,7 +70,7 @@# UTF-8 number of bytes vs. Unicode code point width:
+# UTF-8 number of bytes vs Unicode code point width:
l <- c("e", "e\u00b2", "\u03c0", "\u03c0\u00b2", "\U0001f602\U0001f603")
r <- c(exp(1), exp(2), pi, pi^2, NaN)
cat(base::sprintf("%8s=%+.3f", l, r), sep="\n")
@@ -274,11 +274,6 @@ Examples## π=+3.142
## π²=+9.870
## 😂😃= NaN
-# 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 1665630159.556000 is 2022-10-13T14:02:39+1100.
-## 2022-10-13T14:02:39+1100 is 1665630159.556000 UNIX time.
@@ -297,7 +292,7 @@ Examples
© Copyright 2021-2022, Marek Gagolewski.
- Last updated on 2022-10-13T14:02:44+1100.
+ Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/strptime.html b/docs/rapi/strptime.html index 430caeb..62bc31e 100644 --- a/docs/rapi/strptime.html +++ b/docs/rapi/strptime.html @@ -70,7 +70,7 @@strftime(Sys.time()) # default format - ISO 8601
-## [1] "2022-10-13T14:02:40+1100"
+## [1] "2022-10-27T13:27:57+1100"
f <- c("date_full", "%Y-%m-%d", "date_relative_short", "datetime_full")
strftime(Sys.time(), f) # current default locale
-## [1] "Thursday, October 13, 2022"
-## [2] "2022-10-13"
+## [1] "Thursday, October 27, 2022"
+## [2] "2022-10-27"
## [3] "today"
-## [4] "Thursday, October 13, 2022 at 2:02:40 PM Australian Eastern Daylight Time"
+## [4] "Thursday, October 27, 2022 at 1:27:57 PM Australian Eastern Daylight Time"
strftime(Sys.time(), f, locale="de_DE")
-## [1] "Donnerstag, 13. Oktober 2022"
-## [2] "2022-10-13"
+## [1] "Donnerstag, 27. Oktober 2022"
+## [2] "2022-10-27"
## [3] "heute"
-## [4] "Donnerstag, 13. Oktober 2022 um 14:02:40 Ostaustralische Sommerzeit"
+## [4] "Donnerstag, 27. Oktober 2022 um 13:27:57 Ostaustralische Sommerzeit"
strftime(Sys.time(), "date_short", locale="en_IL@calendar=hebrew")
-## [1] "18 Tishri 5783"
+## [1] "2 Heshvan 5783"
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-01T14:02:40+1000"
+## [1] "1970-01-01T13:27:57+1000"
strptime("14 Nisan 5703", "date_short", locale="en_IL@calendar=hebrew")
-## [1] "1943-04-19T14:02:40+1000"
+## [1] "1943-04-19T13:27:57+1000"
as.POSIXxt("1970-01-01")
## [1] "1970-01-01T00:00:00+1000"
as.POSIXxt("1970/01/01 12:00")
@@ -364,7 +364,7 @@ Examples
© Copyright 2021-2022, Marek Gagolewski.
- Last updated on 2022-10-13T14:02:44+1100.
+ Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/strtrim.html b/docs/rapi/strtrim.html index 9b54b71..95ff24e 100644 --- a/docs/rapi/strtrim.html +++ b/docs/rapi/strtrim.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/strwrap.html b/docs/rapi/strwrap.html index 61366ed..ff9fea2 100644 --- a/docs/rapi/strwrap.html +++ b/docs/rapi/strwrap.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/substr.html b/docs/rapi/substr.html index 4516d15..88f8bd9 100644 --- a/docs/rapi/substr.html +++ b/docs/rapi/substr.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/rapi/trimws.html b/docs/rapi/trimws.html index b72be7f..37139d8 100644 --- a/docs/rapi/trimws.html +++ b/docs/rapi/trimws.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.
diff --git a/docs/search.html b/docs/search.html index 99d3b1e..aab1045 100644 --- a/docs/search.html +++ b/docs/search.html @@ -70,7 +70,7 @@© Copyright 2021-2022, Marek Gagolewski. - Last updated on 2022-10-13T14:02:44+1100. + Last updated on 2022-10-27T13:28:01+1100.