File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,18 +100,6 @@ jobs:
100100 with :
101101 r-version : ${{ matrix.r }}
102102
103- - name : Override R for locale-specific check
104- if : matrix.os == 'ubuntu-latest' && !contains(matrix.locale, 'utf8')
105- run : |
106- sudo mkdir -p /override
107- sudo tee /override/R << 'EOF'
108- #!/bin/bash
109- set -o pipefail
110- exec $(which R) "$@" 2>&1 | iconv -c -t UTF-8
111- EOF
112- sudo chmod +x /override/R
113- echo "PATH=/override:$PATH" >> $GITHUB_ENV
114-
115103 - name : Set script permissions
116104 run : chmod +x configure cleanup 2>/dev/null || true # Silence some GHA Annotations
117105 shell : bash
@@ -202,7 +190,7 @@ jobs:
202190 stop("R CMD check failed")
203191 }
204192 }
205- shell : Rscript {0}
193+ shell : bash -c 'set -o pipefail; Rscript {0} 2>&1 | iconv -c -t UTF-8'
206194
207195 - name : Upload check results
208196 if : failure()
You can’t perform that action at this time.
0 commit comments