From e4cf3176bc3943e6c477885be3445cbbd7d4bab6 Mon Sep 17 00:00:00 2001 From: gagolews Date: Mon, 9 Jan 2023 18:28:54 +1100 Subject: [PATCH] v1.7.12 --- DESCRIPTION | 4 ++-- NEWS | 4 ++-- R/search_locate_4.R | 4 +--- R/search_locate_bound.R | 3 +-- R/sort.R | 6 +----- R/trans_normalization.R | 2 +- R/trans_transliterate.R | 2 +- devel/sphinx/news.md | 4 ++-- devel/sphinx/rapi/stri_datetime_add.md | 4 ++-- devel/sphinx/rapi/stri_datetime_fields.md | 8 ++++---- devel/sphinx/rapi/stri_datetime_format.md | 8 ++++---- devel/sphinx/rapi/stri_locale_set.md | 4 ++-- devel/sphinx/rapi/stri_sprintf.md | 4 ++-- docs/_sources/news.md.txt | 4 ++-- docs/_sources/rapi/stri_datetime_add.md.txt | 4 ++-- .../_sources/rapi/stri_datetime_fields.md.txt | 8 ++++---- .../_sources/rapi/stri_datetime_format.md.txt | 8 ++++---- docs/_sources/rapi/stri_locale_set.md.txt | 4 ++-- docs/_sources/rapi/stri_sprintf.md.txt | 4 ++-- docs/_static/documentation_options.js | 2 +- docs/genindex.html | 4 ++-- docs/index.html | 4 ++-- docs/install.html | 4 ++-- docs/news.html | 10 +++++----- docs/objects.inv | Bin 3307 -> 3307 bytes docs/rapi.html | 4 ++-- docs/rapi/about_arguments.html | 4 ++-- docs/rapi/about_encoding.html | 4 ++-- docs/rapi/about_locale.html | 4 ++-- docs/rapi/about_search.html | 4 ++-- docs/rapi/about_search_boundaries.html | 4 ++-- docs/rapi/about_search_charclass.html | 4 ++-- docs/rapi/about_search_coll.html | 4 ++-- docs/rapi/about_search_fixed.html | 4 ++-- docs/rapi/about_search_regex.html | 4 ++-- docs/rapi/about_stringi.html | 4 ++-- docs/rapi/operator_add.html | 4 ++-- docs/rapi/operator_compare.html | 4 ++-- docs/rapi/operator_dollar.html | 4 ++-- docs/rapi/stri_compare.html | 4 ++-- docs/rapi/stri_count.html | 4 ++-- docs/rapi/stri_count_boundaries.html | 4 ++-- docs/rapi/stri_datetime_add.html | 8 ++++---- docs/rapi/stri_datetime_create.html | 4 ++-- docs/rapi/stri_datetime_fields.html | 12 ++++++------ docs/rapi/stri_datetime_format.html | 12 ++++++------ docs/rapi/stri_datetime_fstr.html | 4 ++-- docs/rapi/stri_datetime_now.html | 4 ++-- docs/rapi/stri_datetime_symbols.html | 4 ++-- docs/rapi/stri_detect.html | 4 ++-- docs/rapi/stri_dup.html | 4 ++-- docs/rapi/stri_duplicated.html | 4 ++-- docs/rapi/stri_enc_detect.html | 4 ++-- docs/rapi/stri_enc_detect2.html | 4 ++-- docs/rapi/stri_enc_fromutf32.html | 4 ++-- docs/rapi/stri_enc_info.html | 4 ++-- docs/rapi/stri_enc_isascii.html | 4 ++-- docs/rapi/stri_enc_isutf16.html | 4 ++-- docs/rapi/stri_enc_isutf8.html | 4 ++-- docs/rapi/stri_enc_list.html | 4 ++-- docs/rapi/stri_enc_mark.html | 4 ++-- docs/rapi/stri_enc_set.html | 4 ++-- docs/rapi/stri_enc_toascii.html | 4 ++-- docs/rapi/stri_enc_tonative.html | 4 ++-- docs/rapi/stri_enc_toutf32.html | 4 ++-- docs/rapi/stri_enc_toutf8.html | 4 ++-- docs/rapi/stri_encode.html | 4 ++-- docs/rapi/stri_escape_unicode.html | 4 ++-- docs/rapi/stri_extract.html | 4 ++-- docs/rapi/stri_extract_boundaries.html | 4 ++-- docs/rapi/stri_flatten.html | 4 ++-- docs/rapi/stri_info.html | 4 ++-- docs/rapi/stri_isempty.html | 4 ++-- docs/rapi/stri_join.html | 4 ++-- docs/rapi/stri_join_list.html | 4 ++-- docs/rapi/stri_length.html | 4 ++-- docs/rapi/stri_list2matrix.html | 4 ++-- docs/rapi/stri_locale_info.html | 4 ++-- docs/rapi/stri_locale_list.html | 4 ++-- docs/rapi/stri_locale_set.html | 8 ++++---- docs/rapi/stri_locate.html | 4 ++-- docs/rapi/stri_locate_boundaries.html | 4 ++-- docs/rapi/stri_match.html | 4 ++-- docs/rapi/stri_na2empty.html | 4 ++-- docs/rapi/stri_numbytes.html | 4 ++-- docs/rapi/stri_opts_brkiter.html | 4 ++-- docs/rapi/stri_opts_collator.html | 4 ++-- docs/rapi/stri_opts_fixed.html | 4 ++-- docs/rapi/stri_opts_regex.html | 4 ++-- docs/rapi/stri_order.html | 4 ++-- docs/rapi/stri_pad.html | 4 ++-- docs/rapi/stri_rand_lipsum.html | 4 ++-- docs/rapi/stri_rand_shuffle.html | 4 ++-- docs/rapi/stri_rand_strings.html | 4 ++-- docs/rapi/stri_rank.html | 4 ++-- docs/rapi/stri_read_lines.html | 4 ++-- docs/rapi/stri_read_raw.html | 4 ++-- docs/rapi/stri_remove_empty.html | 4 ++-- docs/rapi/stri_replace.html | 4 ++-- docs/rapi/stri_replace_na.html | 4 ++-- docs/rapi/stri_replace_rstr.html | 4 ++-- docs/rapi/stri_reverse.html | 4 ++-- docs/rapi/stri_sort.html | 4 ++-- docs/rapi/stri_sort_key.html | 4 ++-- docs/rapi/stri_split.html | 4 ++-- docs/rapi/stri_split_boundaries.html | 4 ++-- docs/rapi/stri_split_lines.html | 4 ++-- docs/rapi/stri_sprintf.html | 8 ++++---- docs/rapi/stri_startsendswith.html | 4 ++-- docs/rapi/stri_stats_general.html | 4 ++-- docs/rapi/stri_stats_latex.html | 4 ++-- docs/rapi/stri_sub.html | 4 ++-- docs/rapi/stri_sub_all.html | 4 ++-- docs/rapi/stri_subset.html | 4 ++-- docs/rapi/stri_timezone_info.html | 4 ++-- docs/rapi/stri_timezone_list.html | 4 ++-- docs/rapi/stri_timezone_set.html | 4 ++-- docs/rapi/stri_trans_casemap.html | 4 ++-- docs/rapi/stri_trans_char.html | 4 ++-- docs/rapi/stri_trans_general.html | 4 ++-- docs/rapi/stri_trans_list.html | 4 ++-- docs/rapi/stri_trans_nf.html | 4 ++-- docs/rapi/stri_trim.html | 4 ++-- docs/rapi/stri_unescape_unicode.html | 4 ++-- docs/rapi/stri_unique.html | 4 ++-- docs/rapi/stri_width.html | 4 ++-- docs/rapi/stri_wrap.html | 4 ++-- docs/rapi/stri_write_lines.html | 4 ++-- docs/search.html | 4 ++-- docs/searchindex.js | 2 +- docs/weave/basic_operations.html | 4 ++-- docs/weave/codepoint_comparing.html | 4 ++-- docs/weave/collation.html | 4 ++-- docs/weave/design_principles.html | 4 ++-- docs/weave/example.html | 4 ++-- docs/weave/input_output.html | 4 ++-- docs/weave/other_operations.html | 4 ++-- docs/weave/regular_expressions.html | 4 ++-- docs/z_bibliography.html | 4 ++-- src/icu69/common/ubiditransform.cpp | 4 ++-- src/icu69/i18n/number_skeletons.cpp | 3 ++- src/icu69/i18n/uspoof_impl.cpp | 16 ++++++++-------- 142 files changed, 306 insertions(+), 312 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 006e5b564..bfba05eea 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: stringi -Version: 1.7.11 -Date: 2023-01-08 +Version: 1.7.12 +Date: 2023-01-09 Title: Fast and Portable Character String Processing Facilities Description: A collection of character string/text/natural language processing tools for pattern searching (e.g., with 'Java'-like regular diff --git a/NEWS b/NEWS index 4a0a0d575..01e0e6e70 100644 --- a/NEWS +++ b/NEWS @@ -1,9 +1,9 @@ # What Is New in *stringi* -## 1.7.11 (2023-01-08) +## 1.7.12 (2023-01-09) -* [BUGFIX] Fixed some problems reported by `rchk`. +* [BUGFIX] Fixed some potential problems reported by `rchk`. * [NOTE] [BACKWARD INCOMPATIBLE CHANGE IF ICU >= 72] If building against ICU >= 72, diff --git a/R/search_locate_4.R b/R/search_locate_4.R index ea10c8373..ea37c5e85 100644 --- a/R/search_locate_4.R +++ b/R/search_locate_4.R @@ -1,7 +1,7 @@ # kate: default-dictionary en_US ## This file is part of the 'stringi' package for R. -## Copyright (c) 2013-2021, Marek Gagolewski +## Copyright (c) 2013-2023, Marek Gagolewski ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -33,7 +33,6 @@ #' @title Locate Pattern Occurrences #' -#' #' @description #' These functions find the indexes (positions) where #' there is a match to some pattern. @@ -41,7 +40,6 @@ #' \code{stri_locate_first_*} and \code{stri_locate_last_*} #' give the first and the last matches, respectively. #' -#' #' @details #' Vectorized over \code{str} and \code{pattern} (with recycling #' of the elements in the shorter vector if necessary). This allows to, diff --git a/R/search_locate_bound.R b/R/search_locate_bound.R index c3feff91b..40ea5a274 100644 --- a/R/search_locate_bound.R +++ b/R/search_locate_bound.R @@ -1,7 +1,7 @@ # kate: default-dictionary en_US ## This file is part of the 'stringi' package for R. -## Copyright (c) 2013-2021, Marek Gagolewski +## Copyright (c) 2013-2023, Marek Gagolewski ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -33,7 +33,6 @@ #' @title Locate Text Boundaries #' -#' #' @description #' These functions locate text boundaries #' (like character, word, line, or sentence boundaries). diff --git a/R/sort.R b/R/sort.R index d0e61c0b5..e83c420f4 100644 --- a/R/sort.R +++ b/R/sort.R @@ -1,7 +1,7 @@ # kate: default-dictionary en_US ## This file is part of the 'stringi' package for R. -## Copyright (c) 2013-2021, Marek Gagolewski +## Copyright (c) 2013-2023, Marek Gagolewski ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without @@ -33,12 +33,10 @@ #' @title String Sorting #' -#' #' @description #' This function sorts a character vector according to a locale-dependent #' lexicographic order. #' -#' #' @details #' For more information on \pkg{ICU}'s Collator and how to tune it up #' in \pkg{stringi}, refer to \code{\link{stri_opts_collator}}. @@ -92,13 +90,11 @@ stri_sort <- function(str, decreasing = FALSE, na_last = NA, ..., opts_collator #' @title Ordering Permutation #' -#' #' @description #' This function finds a permutation which rearranges the #' strings in a given character vector into the ascending or descending #' locale-dependent lexicographic order. #' -#' #' @details #' For more information on \pkg{ICU}'s Collator and how to tune it up #' in \pkg{stringi}, refer to \code{\link{stri_opts_collator}}. diff --git a/R/trans_normalization.R b/R/trans_normalization.R index 8e04c2071..76eb63518 100644 --- a/R/trans_normalization.R +++ b/R/trans_normalization.R @@ -1,7 +1,7 @@ # kate: default-dictionary en_US ## This file is part of the 'stringi' package for R. -## Copyright (c) 2013-2022, Marek Gagolewski +## Copyright (c) 2013-2023, Marek Gagolewski ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without diff --git a/R/trans_transliterate.R b/R/trans_transliterate.R index 3b23d37ab..eaf2302b1 100644 --- a/R/trans_transliterate.R +++ b/R/trans_transliterate.R @@ -1,7 +1,7 @@ # kate: default-dictionary en_US ## This file is part of the 'stringi' package for R. -## Copyright (c) 2013-2021, Marek Gagolewski +## Copyright (c) 2013-2023, Marek Gagolewski ## All rights reserved. ## ## Redistribution and use in source and binary forms, with or without diff --git a/devel/sphinx/news.md b/devel/sphinx/news.md index 0289d016a..01e0e6e70 100644 --- a/devel/sphinx/news.md +++ b/devel/sphinx/news.md @@ -1,9 +1,9 @@ # What Is New in *stringi* -## 1.7.11 (2022-12-31) +## 1.7.12 (2023-01-09) -* [BUGFIX] Fixed some problems reported by `rchk`. +* [BUGFIX] Fixed some potential problems reported by `rchk`. * [NOTE] [BACKWARD INCOMPATIBLE CHANGE IF ICU >= 72] If building against ICU >= 72, diff --git a/devel/sphinx/rapi/stri_datetime_add.md b/devel/sphinx/rapi/stri_datetime_add.md index bf223437b..a79dadcb1 100644 --- a/devel/sphinx/rapi/stri_datetime_add.md +++ b/devel/sphinx/rapi/stri_datetime_add.md @@ -65,9 +65,9 @@ Other datetime: [`stri_datetime_create()`](stri_datetime_create.md), [`stri_date x <- stri_datetime_now() stri_datetime_add(x, units='months') <- 2 print(x) -## [1] "2023-02-28 12:20:54 AEDT" +## [1] "2023-03-09 18:26:38 AEDT" stri_datetime_add(x, -2, units='months') -## [1] "2022-12-28 12:20:54 AEDT" +## [1] "2023-01-09 18:26:38 AEDT" stri_datetime_add(stri_datetime_create(2014, 4, 20), 1, units='years') ## [1] "2015-04-20 12:00:00 AEST" stri_datetime_add(stri_datetime_create(2014, 4, 20), 1, units='years', locale='@calendar=hebrew') diff --git a/devel/sphinx/rapi/stri_datetime_fields.md b/devel/sphinx/rapi/stri_datetime_fields.md index f3cbf9b10..cff6c2a40 100644 --- a/devel/sphinx/rapi/stri_datetime_fields.md +++ b/devel/sphinx/rapi/stri_datetime_fields.md @@ -74,14 +74,14 @@ Other datetime: [`stri_datetime_add()`](stri_datetime_add.md), [`stri_datetime_c ```r stri_datetime_fields(stri_datetime_now()) ## Year Month Day Hour Minute Second Millisecond WeekOfYear WeekOfMonth -## 1 2022 12 31 12 20 54 999 53 5 +## 1 2023 1 9 18 26 39 241 2 2 ## DayOfYear DayOfWeek Hour12 AmPm Era -## 1 365 7 0 2 2 +## 1 9 2 6 2 2 stri_datetime_fields(stri_datetime_now(), locale='@calendar=hebrew') ## Year Month Day Hour Minute Second Millisecond WeekOfYear WeekOfMonth -## 1 5783 4 7 12 20 55 3 14 1 +## 1 5783 4 16 18 26 39 245 16 3 ## DayOfYear DayOfWeek Hour12 AmPm Era -## 1 97 7 0 2 1 +## 1 106 2 6 2 1 stri_datetime_symbols(locale='@calendar=hebrew')$Month[ stri_datetime_fields(stri_datetime_now(), locale='@calendar=hebrew')$Month ] diff --git a/devel/sphinx/rapi/stri_datetime_format.md b/devel/sphinx/rapi/stri_datetime_format.md index 9a15c383b..920233ec5 100644 --- a/devel/sphinx/rapi/stri_datetime_format.md +++ b/devel/sphinx/rapi/stri_datetime_format.md @@ -186,13 +186,13 @@ Other datetime: [`stri_datetime_add()`](stri_datetime_add.md), [`stri_datetime_c ```r x <- c('2015-02-28', '2015-02-29') stri_datetime_parse(x, 'yyyy-MM-dd') -## [1] "2015-02-28 12:20:55 AEDT" NA +## [1] "2015-02-28 18:26:39 AEDT" NA stri_datetime_parse(x, 'yyyy-MM-dd', lenient=TRUE) -## [1] "2015-02-28 12:20:55 AEDT" "2015-03-01 12:20:55 AEDT" +## [1] "2015-02-28 18:26:39 AEDT" "2015-03-01 18:26:39 AEDT" stri_datetime_parse(x %s+% " 00:00:00", "yyyy-MM-dd HH:mm:ss") ## [1] "2015-02-28 00:00:00 AEDT" NA stri_datetime_parse('19 lipca 2015', 'date_long', locale='pl_PL') -## [1] "2015-07-19 12:20:55 AEST" +## [1] "2015-07-19 18:26:39 AEST" stri_datetime_format(stri_datetime_now(), 'datetime_relative_medium') -## [1] "today, 12:20:55 pm" +## [1] "today, 6:26:39 pm" ``` diff --git a/devel/sphinx/rapi/stri_locale_set.md b/devel/sphinx/rapi/stri_locale_set.md index 6246e7dc4..ab582e2d9 100644 --- a/devel/sphinx/rapi/stri_locale_set.md +++ b/devel/sphinx/rapi/stri_locale_set.md @@ -50,12 +50,12 @@ Other locale_management: [`about_locale`](about_locale.md), [`stri_locale_info() ```r ## Not run: oldloc <- stri_locale_set('pt_BR') -## You are now working with stringi_1.7.11 (pt_BR.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) +## You are now working with stringi_1.7.12 (pt_BR.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) # ... some locale-dependent operations # ... note that you may always modify a locale per-call # ... changing the default locale is convenient if you perform # ... many operations stri_locale_set(oldloc) # restore the previous default locale -## You are now working with stringi_1.7.11 (en_AU.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) +## You are now working with stringi_1.7.12 (en_AU.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) ## End(Not run) ``` diff --git a/devel/sphinx/rapi/stri_sprintf.md b/devel/sphinx/rapi/stri_sprintf.md index e692f0d29..6d0f8d04e 100644 --- a/devel/sphinx/rapi/stri_sprintf.md +++ b/devel/sphinx/rapi/stri_sprintf.md @@ -143,14 +143,14 @@ stri_printf("%+10.3f", c(-Inf, -0, 0, Inf, NaN, NA_real_), ## 💩 ## stri_sprintf("UNIX time %1$f is %1$s.", Sys.time()) -## [1] "UNIX time 1672449668.969180 is 2022-12-31 12:21:08." +## [1] "UNIX time 1673249216.815058 is 2023-01-09 18:26:56." # the following do not work in sprintf() stri_sprintf("%1$#- *2$.*3$f", 1.23456, 10, 3) # two asterisks ## [1] " 1.235 " stri_sprintf(c("%s", "%f"), pi) # re-coercion needed ## [1] "3.14159265358979" "3.141593" stri_sprintf("%1$s is %1$f UNIX time.", Sys.time()) # re-coercion needed -## [1] "2022-12-31 12:21:08 is 1672449668.971694 UNIX time." +## [1] "2023-01-09 18:26:56 is 1673249216.817669 UNIX time." stri_sprintf(c("%d", "%s"), factor(11:12)) # re-coercion needed ## [1] "1" "12" stri_sprintf(c("%s", "%d"), factor(11:12)) # re-coercion needed diff --git a/docs/_sources/news.md.txt b/docs/_sources/news.md.txt index 0289d016a..01e0e6e70 100644 --- a/docs/_sources/news.md.txt +++ b/docs/_sources/news.md.txt @@ -1,9 +1,9 @@ # What Is New in *stringi* -## 1.7.11 (2022-12-31) +## 1.7.12 (2023-01-09) -* [BUGFIX] Fixed some problems reported by `rchk`. +* [BUGFIX] Fixed some potential problems reported by `rchk`. * [NOTE] [BACKWARD INCOMPATIBLE CHANGE IF ICU >= 72] If building against ICU >= 72, diff --git a/docs/_sources/rapi/stri_datetime_add.md.txt b/docs/_sources/rapi/stri_datetime_add.md.txt index bf223437b..a79dadcb1 100644 --- a/docs/_sources/rapi/stri_datetime_add.md.txt +++ b/docs/_sources/rapi/stri_datetime_add.md.txt @@ -65,9 +65,9 @@ Other datetime: [`stri_datetime_create()`](stri_datetime_create.md), [`stri_date x <- stri_datetime_now() stri_datetime_add(x, units='months') <- 2 print(x) -## [1] "2023-02-28 12:20:54 AEDT" +## [1] "2023-03-09 18:26:38 AEDT" stri_datetime_add(x, -2, units='months') -## [1] "2022-12-28 12:20:54 AEDT" +## [1] "2023-01-09 18:26:38 AEDT" stri_datetime_add(stri_datetime_create(2014, 4, 20), 1, units='years') ## [1] "2015-04-20 12:00:00 AEST" stri_datetime_add(stri_datetime_create(2014, 4, 20), 1, units='years', locale='@calendar=hebrew') diff --git a/docs/_sources/rapi/stri_datetime_fields.md.txt b/docs/_sources/rapi/stri_datetime_fields.md.txt index f3cbf9b10..cff6c2a40 100644 --- a/docs/_sources/rapi/stri_datetime_fields.md.txt +++ b/docs/_sources/rapi/stri_datetime_fields.md.txt @@ -74,14 +74,14 @@ Other datetime: [`stri_datetime_add()`](stri_datetime_add.md), [`stri_datetime_c ```r stri_datetime_fields(stri_datetime_now()) ## Year Month Day Hour Minute Second Millisecond WeekOfYear WeekOfMonth -## 1 2022 12 31 12 20 54 999 53 5 +## 1 2023 1 9 18 26 39 241 2 2 ## DayOfYear DayOfWeek Hour12 AmPm Era -## 1 365 7 0 2 2 +## 1 9 2 6 2 2 stri_datetime_fields(stri_datetime_now(), locale='@calendar=hebrew') ## Year Month Day Hour Minute Second Millisecond WeekOfYear WeekOfMonth -## 1 5783 4 7 12 20 55 3 14 1 +## 1 5783 4 16 18 26 39 245 16 3 ## DayOfYear DayOfWeek Hour12 AmPm Era -## 1 97 7 0 2 1 +## 1 106 2 6 2 1 stri_datetime_symbols(locale='@calendar=hebrew')$Month[ stri_datetime_fields(stri_datetime_now(), locale='@calendar=hebrew')$Month ] diff --git a/docs/_sources/rapi/stri_datetime_format.md.txt b/docs/_sources/rapi/stri_datetime_format.md.txt index 9a15c383b..920233ec5 100644 --- a/docs/_sources/rapi/stri_datetime_format.md.txt +++ b/docs/_sources/rapi/stri_datetime_format.md.txt @@ -186,13 +186,13 @@ Other datetime: [`stri_datetime_add()`](stri_datetime_add.md), [`stri_datetime_c ```r x <- c('2015-02-28', '2015-02-29') stri_datetime_parse(x, 'yyyy-MM-dd') -## [1] "2015-02-28 12:20:55 AEDT" NA +## [1] "2015-02-28 18:26:39 AEDT" NA stri_datetime_parse(x, 'yyyy-MM-dd', lenient=TRUE) -## [1] "2015-02-28 12:20:55 AEDT" "2015-03-01 12:20:55 AEDT" +## [1] "2015-02-28 18:26:39 AEDT" "2015-03-01 18:26:39 AEDT" stri_datetime_parse(x %s+% " 00:00:00", "yyyy-MM-dd HH:mm:ss") ## [1] "2015-02-28 00:00:00 AEDT" NA stri_datetime_parse('19 lipca 2015', 'date_long', locale='pl_PL') -## [1] "2015-07-19 12:20:55 AEST" +## [1] "2015-07-19 18:26:39 AEST" stri_datetime_format(stri_datetime_now(), 'datetime_relative_medium') -## [1] "today, 12:20:55 pm" +## [1] "today, 6:26:39 pm" ``` diff --git a/docs/_sources/rapi/stri_locale_set.md.txt b/docs/_sources/rapi/stri_locale_set.md.txt index 6246e7dc4..ab582e2d9 100644 --- a/docs/_sources/rapi/stri_locale_set.md.txt +++ b/docs/_sources/rapi/stri_locale_set.md.txt @@ -50,12 +50,12 @@ Other locale_management: [`about_locale`](about_locale.md), [`stri_locale_info() ```r ## Not run: oldloc <- stri_locale_set('pt_BR') -## You are now working with stringi_1.7.11 (pt_BR.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) +## You are now working with stringi_1.7.12 (pt_BR.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) # ... some locale-dependent operations # ... note that you may always modify a locale per-call # ... changing the default locale is convenient if you perform # ... many operations stri_locale_set(oldloc) # restore the previous default locale -## You are now working with stringi_1.7.11 (en_AU.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) +## You are now working with stringi_1.7.12 (en_AU.UTF-8; ICU4C 69.1 [bundle]; Unicode 13.0) ## End(Not run) ``` diff --git a/docs/_sources/rapi/stri_sprintf.md.txt b/docs/_sources/rapi/stri_sprintf.md.txt index e692f0d29..6d0f8d04e 100644 --- a/docs/_sources/rapi/stri_sprintf.md.txt +++ b/docs/_sources/rapi/stri_sprintf.md.txt @@ -143,14 +143,14 @@ stri_printf("%+10.3f", c(-Inf, -0, 0, Inf, NaN, NA_real_), ## 💩 ## stri_sprintf("UNIX time %1$f is %1$s.", Sys.time()) -## [1] "UNIX time 1672449668.969180 is 2022-12-31 12:21:08." +## [1] "UNIX time 1673249216.815058 is 2023-01-09 18:26:56." # the following do not work in sprintf() stri_sprintf("%1$#- *2$.*3$f", 1.23456, 10, 3) # two asterisks ## [1] " 1.235 " stri_sprintf(c("%s", "%f"), pi) # re-coercion needed ## [1] "3.14159265358979" "3.141593" stri_sprintf("%1$s is %1$f UNIX time.", Sys.time()) # re-coercion needed -## [1] "2022-12-31 12:21:08 is 1672449668.971694 UNIX time." +## [1] "2023-01-09 18:26:56 is 1673249216.817669 UNIX time." stri_sprintf(c("%d", "%s"), factor(11:12)) # re-coercion needed ## [1] "1" "12" stri_sprintf(c("%s", "%d"), factor(11:12)) # re-coercion needed diff --git a/docs/_static/documentation_options.js b/docs/_static/documentation_options.js index 435ed9377..471ef185f 100644 --- a/docs/_static/documentation_options.js +++ b/docs/_static/documentation_options.js @@ -1,6 +1,6 @@ var DOCUMENTATION_OPTIONS = { URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'), - VERSION: '1.7.11', + VERSION: '1.7.12', LANGUAGE: 'en', COLLAPSE_INDEX: false, BUILDER: 'html', diff --git a/docs/genindex.html b/docs/genindex.html index ea806a4d5..dd28bc97a 100644 --- a/docs/genindex.html +++ b/docs/genindex.html @@ -67,7 +67,7 @@
- 1.7.11 + 1.7.12
@@ -177,7 +177,7 @@

Index

© Copyright 2013-2023, Marek Gagolewski. - Last updated on 2022-12-31T12:21:19+1100. + Last updated on 2023-01-09T18:27:06+1100.

diff --git a/docs/index.html b/docs/index.html index 724fbfaf0..2858912d8 100644 --- a/docs/index.html +++ b/docs/index.html @@ -69,7 +69,7 @@
- 1.7.11 + 1.7.12
@@ -434,7 +434,7 @@

stringi: Fast and Portable Character String Processing in R

© Copyright 2013-2023, Marek Gagolewski. - Last updated on 2022-12-31T12:21:19+1100. + Last updated on 2023-01-09T18:27:06+1100.

diff --git a/docs/install.html b/docs/install.html index dbb260551..d88d46f0e 100644 --- a/docs/install.html +++ b/docs/install.html @@ -70,7 +70,7 @@
- 1.7.11 + 1.7.12
@@ -343,7 +343,7 @@

Conclusion

© Copyright 2013-2023, Marek Gagolewski. - Last updated on 2022-12-31T12:21:19+1100. + Last updated on 2023-01-09T18:27:06+1100.

diff --git a/docs/news.html b/docs/news.html index 713fb0ea5..aee4e1f23 100644 --- a/docs/news.html +++ b/docs/news.html @@ -70,7 +70,7 @@
- 1.7.11 + 1.7.12
@@ -126,7 +126,7 @@
  • JStatSoft Paper
  • C++ API — Rcpp Example
  • What Is New in stringi