From f29fcfc8cde041cbca51a12d2af6c5808df63780 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 16 Jan 2024 02:53:37 +0100 Subject: [PATCH 1/4] update news for 15.0.0 --- r/NEWS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/r/NEWS.md b/r/NEWS.md index 1744e6e96e93..063ebbede93b 100644 --- a/r/NEWS.md +++ b/r/NEWS.md @@ -19,6 +19,17 @@ # arrow 14.0.2.9000 +## Minor improvements and fixes + +* Throw error when `string_replace` is passed vector of values in `pattern` (#39219) +* Document `open_dataset(format = "json")` (#38258) + +## New features + +* Add `prod`-binding for `summarize()` (#38601) +* Add `dimnames` method to `Dataset` class (#38377) +* Allow `code()` to return package name prefix. (#38144) + # arrow 14.0.2 ## Minor improvements and fixes From 077c864b235202b6b862e6a187b2fa1f011af38b Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Tue, 16 Jan 2024 19:40:44 +0100 Subject: [PATCH 2/4] implement review suggestions --- r/NEWS.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/r/NEWS.md b/r/NEWS.md index 063ebbede93b..15df47678498 100644 --- a/r/NEWS.md +++ b/r/NEWS.md @@ -19,16 +19,19 @@ # arrow 14.0.2.9000 -## Minor improvements and fixes +## New features -* Throw error when `string_replace` is passed vector of values in `pattern` (#39219) -* Document `open_dataset(format = "json")` (#38258) +* Add binding for `base::prod` (@m-muecke, #38601). +* Add `dimnames` method to `Dataset` class (#38377). +* Allow `code()` to return package name prefix (@orgadish, #38144). -## New features +## Minor improvements and fixes -* Add `prod`-binding for `summarize()` (#38601) -* Add `dimnames` method to `Dataset` class (#38377) -* Allow `code()` to return package name prefix. (#38144) +* Don't download cmake when TEST_OFFLINE_BUILD=true and update `SystemRequirements` (#39602). +* Fallback to source build gracefully if binary download fails (#39587). +* Throw error when the bindings for `gsub`, `sub`, `str_replace` and + `str_replace_all` are passed a vector of values in `pattern` (@abfleishman, #39219) +* Document `open_dataset(format = "json")` (#38258) # arrow 14.0.2 From f5d0d4449178098c1f6b6612770c70a7de7b5652 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Wed, 17 Jan 2024 04:23:09 +0100 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: Bryce Mecum --- r/NEWS.md | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/r/NEWS.md b/r/NEWS.md index 15df47678498..0b884d73bedd 100644 --- a/r/NEWS.md +++ b/r/NEWS.md @@ -21,17 +21,23 @@ ## New features -* Add binding for `base::prod` (@m-muecke, #38601). -* Add `dimnames` method to `Dataset` class (#38377). -* Allow `code()` to return package name prefix (@orgadish, #38144). +* Bindings for `base::prod` have been added so you can now use it in your dplyr pipelines (i.e., `tbl |> summarize(prod(col))`) without having to pull the data into R (@m-muecke, #38601). +* Calling `dimnames` or `colnames` on `Dataset` objects now returns a useful result rather than just `NULL` (#38377). +* The `code()` method on Schema objects now takes an optional `namespace` argument which, when `TRUE`, prefixes names with `arrow::` which makes the output more portable (@orgadish, #38144). ## Minor improvements and fixes * Don't download cmake when TEST_OFFLINE_BUILD=true and update `SystemRequirements` (#39602). * Fallback to source build gracefully if binary download fails (#39587). -* Throw error when the bindings for `gsub`, `sub`, `str_replace` and - `str_replace_all` are passed a vector of values in `pattern` (@abfleishman, #39219) -* Document `open_dataset(format = "json")` (#38258) +* An error is now thrown instead of warning and pulling the data into R when any + of `sub`, `gsub`, `stringr::str_replace`, `stringr::str_replace_all` are + passed a length > 1 vector of values in `pattern` (@abfleishman, #39219). +* Missing documentation was added to `?open_dataset` documenting how to use the + ND-JSON support added in arrow 13.0.0 (@Divyansh200102, #38258). +* To make debugging problems easier when using arrow with AWS S3 (e..g, `s3_bucket`, `S3FileSystem`), the debug log level for S3 can be set with the `AWS_S3_LOG_LEVEL` environment variable. See `?S3FileSystem` for more information. (#38267) +* Using arrow with duckdb (i.e., `to_duckdb()`) no longer results in warnings when quitting your R session. (#38495) +* A large number of minor spelling mistakes were fixed (@jsoref, #38929, #38257) +* The developer documentation has been updated to match changes made in recent releases (#38220) # arrow 14.0.2 From 82f8707e02930adb6d81bf76fb40651aeb089db2 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Wed, 17 Jan 2024 04:26:23 +0100 Subject: [PATCH 4/4] wrap to ~80 --- r/NEWS.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/r/NEWS.md b/r/NEWS.md index 0b884d73bedd..9badf4700a36 100644 --- a/r/NEWS.md +++ b/r/NEWS.md @@ -21,9 +21,14 @@ ## New features -* Bindings for `base::prod` have been added so you can now use it in your dplyr pipelines (i.e., `tbl |> summarize(prod(col))`) without having to pull the data into R (@m-muecke, #38601). -* Calling `dimnames` or `colnames` on `Dataset` objects now returns a useful result rather than just `NULL` (#38377). -* The `code()` method on Schema objects now takes an optional `namespace` argument which, when `TRUE`, prefixes names with `arrow::` which makes the output more portable (@orgadish, #38144). +* Bindings for `base::prod` have been added so you can now use it in your dplyr + pipelines (i.e., `tbl |> summarize(prod(col))`) without having to pull the + data into R (@m-muecke, #38601). +* Calling `dimnames` or `colnames` on `Dataset` objects now returns a useful + result rather than just `NULL` (#38377). +* The `code()` method on Schema objects now takes an optional `namespace` + argument which, when `TRUE`, prefixes names with `arrow::` which makes + the output more portable (@orgadish, #38144). ## Minor improvements and fixes @@ -34,8 +39,12 @@ passed a length > 1 vector of values in `pattern` (@abfleishman, #39219). * Missing documentation was added to `?open_dataset` documenting how to use the ND-JSON support added in arrow 13.0.0 (@Divyansh200102, #38258). -* To make debugging problems easier when using arrow with AWS S3 (e..g, `s3_bucket`, `S3FileSystem`), the debug log level for S3 can be set with the `AWS_S3_LOG_LEVEL` environment variable. See `?S3FileSystem` for more information. (#38267) -* Using arrow with duckdb (i.e., `to_duckdb()`) no longer results in warnings when quitting your R session. (#38495) +* To make debugging problems easier when using arrow with AWS S3 + (e.g., `s3_bucket`, `S3FileSystem`), the debug log level for S3 can be set + with the `AWS_S3_LOG_LEVEL` environment variable. + See `?S3FileSystem` for more information. (#38267) +* Using arrow with duckdb (i.e., `to_duckdb()`) no longer results in warnings + when quitting your R session. (#38495) * A large number of minor spelling mistakes were fixed (@jsoref, #38929, #38257) * The developer documentation has been updated to match changes made in recent releases (#38220)