You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by pa...@apache.org on 2023/06/13 15:50:06 UTC
[arrow-nanoarrow] branch main updated: chore(r): Tidy R package for CRAN submission (#231)
This is an automated email from the ASF dual-hosted git repository.
paleolimbot pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/arrow-nanoarrow.git
The following commit(s) were added to refs/heads/main by this push:
new bfb004a chore(r): Tidy R package for CRAN submission (#231)
bfb004a is described below
commit bfb004ae07a5c35324c4d1ba3f96a0eeb7fc54ae
Author: Dewey Dunnington <de...@dunnington.ca>
AuthorDate: Tue Jun 13 12:49:59 2023 -0300
chore(r): Tidy R package for CRAN submission (#231)
A few repo-tidying items resulting from a dry run of #222.
---
r/NEWS.md | 22 ++++++++++++++++++++++
r/README.md | 22 +++++++++++-----------
r/cran-comments.md | 4 ++++
3 files changed, 37 insertions(+), 11 deletions(-)
diff --git a/r/NEWS.md b/r/NEWS.md
new file mode 100644
index 0000000..332a59c
--- /dev/null
+++ b/r/NEWS.md
@@ -0,0 +1,22 @@
+<!---
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+-->
+
+# nanoarrow (development version)
+
+* Added a `NEWS.md` file to track changes to the package.
diff --git a/r/README.md b/r/README.md
index a10d9b1..be02d5a 100644
--- a/r/README.md
+++ b/r/README.md
@@ -116,8 +116,8 @@ as_nanoarrow_array(1:5)
#> $ null_count: int 0
#> $ offset : int 0
#> $ buffers :List of 2
-#> ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
-#> ..$ :<nanoarrow_buffer_data_int32[20 b] at 0x14e4bd638>
+#> ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
+#> ..$ :<nanoarrow_buffer data<int32>[5][20 b]> `1 2 3 4 5`
#> $ dictionary: NULL
#> $ children : list()
as_nanoarrow_array(data.frame(col1 = c(1.1, 2.2)))
@@ -126,15 +126,15 @@ as_nanoarrow_array(data.frame(col1 = c(1.1, 2.2)))
#> $ null_count: int 0
#> $ offset : int 0
#> $ buffers :List of 1
-#> ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
+#> ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
#> $ children :List of 1
#> ..$ col1:<nanoarrow_array double[2]>
#> .. ..$ length : int 2
#> .. ..$ null_count: int 0
#> .. ..$ offset : int 0
#> .. ..$ buffers :List of 2
-#> .. .. ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
-#> .. .. ..$ :<nanoarrow_buffer_data_double[16 b] at 0x14e62ccb8>
+#> .. .. ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
+#> .. .. ..$ :<nanoarrow_buffer data<double>[2][16 b]> `1.1 2.2`
#> .. ..$ dictionary: NULL
#> .. ..$ children : list()
#> $ dictionary: NULL
@@ -198,15 +198,15 @@ stream$get_next()
#> $ null_count: int 0
#> $ offset : int 0
#> $ buffers :List of 1
-#> ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
+#> ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
#> $ children :List of 1
#> ..$ col1:<nanoarrow_array double[2]>
#> .. ..$ length : int 2
#> .. ..$ null_count: int 0
#> .. ..$ offset : int 0
#> .. ..$ buffers :List of 2
-#> .. .. ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
-#> .. .. ..$ :<nanoarrow_buffer_data_double[16 b] at 0x13af88b38>
+#> .. .. ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
+#> .. .. ..$ :<nanoarrow_buffer data<double>[2][16 b]> `1.1 2.2`
#> .. ..$ dictionary: NULL
#> .. ..$ children : list()
#> $ dictionary: NULL
@@ -216,15 +216,15 @@ stream$get_next()
#> $ null_count: int 0
#> $ offset : int 0
#> $ buffers :List of 1
-#> ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
+#> ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
#> $ children :List of 1
#> ..$ col1:<nanoarrow_array double[2]>
#> .. ..$ length : int 2
#> .. ..$ null_count: int 0
#> .. ..$ offset : int 0
#> .. ..$ buffers :List of 2
-#> .. .. ..$ :<nanoarrow_buffer_validity[0 b] at 0x0>
-#> .. .. ..$ :<nanoarrow_buffer_data_double[16 b] at 0x13af886f8>
+#> .. .. ..$ :<nanoarrow_buffer validity<bool>[0][0 b]> ``
+#> .. .. ..$ :<nanoarrow_buffer data<double>[2][16 b]> `3.3 4.4`
#> .. ..$ dictionary: NULL
#> .. ..$ children : list()
#> $ dictionary: NULL
diff --git a/r/cran-comments.md b/r/cran-comments.md
index 858617d..8d4cbe3 100644
--- a/r/cran-comments.md
+++ b/r/cran-comments.md
@@ -1,3 +1,7 @@
+
+Updates the nanoarrow R bindings to use the latest version of the nanoarrow
+C library.
+
## R CMD check results
0 errors | 0 warnings | 1 note