Skip to content

Commit

Permalink
MINOR: [R] Skip tests which use with_language() on CRAN (#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 Oct 4, 2023
1 parent 57e9386 commit 532ab46
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 532ab46

Please sign in to comment.