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

   ### Rationale for this change
   
   R builds with `--disable-nls` and no `-DENABLE_NLS=1` will not translate any 
messages, so associated tests don't really make sense.
   
   ### What changes are included in this PR?
   
   Skip such tests by reading from `capabilities()`.
   
   ### Are these changes tested?
   
   GHA/CI
   
   ### Are there any user-facing changes?
   
   No
   
   ### Could this be solved another way?
   
   Yes, I think we could just use `withr::with_language()` instead which has 
its own `capabilities()` check:
   
   
https://github.com/r-lib/withr/blob/22e392c9cc13efaa9ba042bb193991f78316edb1/R/language.R#L81


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