Skip to content

Commit

Permalink
MINOR: [R] Skip tests which use with_language() on CRAN (apache#37810)
Browse files Browse the repository at this point in the history
### Rationale for this change

Tests which use `with_language()` are failing on CRAN

### What changes are included in this PR?

Skip those tests on CRAN for now until we find the source of the problem

### Are these changes tested?

No

### Are there any user-facing changes?

No

Authored-by: Nic Crane <[email protected]>
Signed-off-by: Nic Crane <[email protected]>
  • Loading branch information
thisisnic authored and dgreiss committed Feb 17, 2024
1 parent 300a078 commit 56fb66f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions r/tests/testthat/helper-arrow.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ Sys.setenv(LANGUAGE = "en")
options(arrow.pull_as_vector = FALSE)

with_language <- function(lang, expr) {
skip_on_cran()
old <- Sys.getenv("LANGUAGE")
# Check what this message is before changing languages; this will
# trigger caching the transations if the OS does that (some do).
Expand Down

0 comments on commit 56fb66f

Please sign in to comment.