nealrichardson commented on a change in pull request #10200:
URL: https://github.com/apache/arrow/pull/10200#discussion_r624265781



##########
File path: r/R/arrow-package.R
##########
@@ -163,6 +164,13 @@ arrow_info <- function() {
       runtime_info = list(
         simd_level = runtimeinfo[1],
         detected_simd_level = runtimeinfo[2]
+      ),
+      build_info = list(
+        cpp_version = buildinfo[1],
+        cpp_compiler = buildinfo[2],
+        cpp_compiler_version = buildinfo[3],
+        cpp_compiler_flags = buildinfo[4],
+        git_id = buildinfo[5]

Review comment:
       This should prevent printing `Git ID` in the case where there is no 
git_id
   
   ```suggestion
           # git_id is "" if not built from a git checkout
           # convert that to NULL
           git_id = if (nzchar(buildinfo[5])) buildinfo[5]
   ```




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to