vanshaj2023 opened a new pull request, #49381:
URL: https://github.com/apache/arrow/pull/49381

   ### Rationale for this change
   
   The `r-devdocs` crossbow CI job fails during the gap between the C++ release 
(published to apt) and the R package release (CRAN). Two hidden bash chunks in 
`setup.Rmd` were silently installing the released `libarrow-dev` from apt 
during CI, overwriting the version built from the git checkout. Since the R 
package (`arrow.so`) was compiled against the newer git-built `libarrow`, 
loading it against the older apt version caused an undefined symbol ABI 
mismatch error.
   
   ### What changes are included in this PR?
   
   Removes the hidden CI test chunks from `r/vignettes/developers/setup.Rmd`:
   
   - Removed hidden macOS chunk that ran `brew install apache-arrow`
   - Removed hidden Ubuntu chunk that ran `apt install libarrow-dev` (root 
cause of the ABI mismatch)
   - Converted the `MAKEFLAGS="LDFLAGS="` example from an executable knitr 
chunk to a plain `bash` code block preserves the documentation example without 
executing it in CI
   
   ### Are these changes tested?
   
   No, the fix removes the broken test logic from the vignette. As noted by 
@thisisnic, this type of testing should live in proper CI infrastructure, not 
embedded as hidden code in documentation.
   
   ### Are there any user-facing changes?
   
   No. The rendered documentation is unchanged the `MAKEFLAGS="LDFLAGS="` 
example remains visible in the "Multiple versions of libarrow" troubleshooting 
section.
   


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