(v3.0.1.9136) Fix the CI entry with a Dutch locale by using a UTF-8 locale that is installed on the runner, and skip the mo_source tests with skip_if() so that the tinytest harness for old R versions supports them

This commit is contained in:
dr. M.S. (Matthijs) Berends committed 2026-10-15 00:11:07 +02:00
1 parent 8b01bcb23c
commit 46f5de1d36
4 files changed
+8 -5

No files matched your search

@@ -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
+2 -2
View File
@@ -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
+1 -1
View File
@@ -1,4 +1,4 @@
# AMR 3.0.1.9135
# AMR 3.0.1.9136
Planned as v3.1.0, mid October 2026.
+1 -1
View File
@@ -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")