diff --git a/.github/workflows/check-current-testthat.yaml b/.github/workflows/check-current-testthat.yaml index def2645b9..ea4024c14 100644 --- a/.github/workflows/check-current-testthat.yaml +++ b/.github/workflows/check-current-testthat.yaml @@ -103,7 +103,10 @@ jobs: - name: Set LANG if: matrix.config.lang - run: echo "LANG=${{ matrix.config.lang }}" >> "$GITHUB_ENV" + # the package reads the language from LANG, while R needs a locale that is installed on the runner, so LC_ALL is set to the UTF-8 locale that is always available + run: | + echo "LANG=${{ matrix.config.lang }}" >> "$GITHUB_ENV" + echo "LC_ALL=C.UTF-8" >> "$GITHUB_ENV" - name: Set up scenario '${{ matrix.config.scenario }}' if: matrix.config.scenario diff --git a/DESCRIPTION b/DESCRIPTION index 8a53dce68..af56b0160 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: AMR -Version: 3.0.1.9135 -Date: 2026-10-14 +Version: 3.0.1.9136 +Date: 2026-10-15 Title: Antimicrobial Resistance Data Analysis Description: Functions to simplify and standardise antimicrobial resistance (AMR) data analysis and to work with microbial and antimicrobial properties by diff --git a/NEWS.md b/NEWS.md index fcc08d931..ddc3eedbc 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,4 @@ -# AMR 3.0.1.9135 +# AMR 3.0.1.9136 Planned as v3.1.0, mid October 2026. diff --git a/tests/testthat/test-mo_source.R b/tests/testthat/test-mo_source.R index 947d381f4..ae83854e5 100644 --- a/tests/testthat/test-mo_source.R +++ b/tests/testthat/test-mo_source.R @@ -29,7 +29,7 @@ test_that("test-mo_source.R", { # set_mo_source() and the interactive branches of get_mo_source() only work in interactive sessions, see .github/scripts/run_tests.sh - skip_if_not(interactive()) + skip_if(!interactive()) skip_on_cran() dir <- tempfile("mo_source_test")