assignUser commented on code in PR #38236:
URL: https://github.com/apache/arrow/pull/38236#discussion_r1357042383


##########
r/tools/nixlibs.R:
##########
@@ -133,16 +125,16 @@ identify_binary <- function(lib = 
Sys.getenv("LIBARROW_BINARY"), info = distro()
 
   if (identical(lib, "false")) {
     # Do not download a binary
-    NULL
+    lib <- NULL
   } else if (!identical(lib, "true")) {
     # Env var provided an os-version to use, to override our logic.
     # We don't validate that this exists. If it doesn't, the download will fail
     # and the build will fall back to building from source
-    lib

Review Comment:
   Yes it's intentional as no change to `lib` is needed. The alternatives are 
`lib <- lib` or using a different var for the return. Both are :shrug: though 
maybe `lib <- lib` is a bit more explicit version of a noop :)



-- 
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.

To unsubscribe, e-mail: [email protected]

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

Reply via email to