Skip to content

Commit d1e87e5

Browse files
GHA: tweaks
1 parent 1a63b80 commit d1e87e5

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/R-CMD-check.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,16 @@ jobs:
3535
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
3636
R_KEEP_PKG_SOURCE: yes
3737
R_REMOTES_NO_ERRORS_FROM_WARNINGS: true
38-
## Test in other locale (optional)
39-
LANGUAGE: ${{ matrix.config.language }}
4038
## R CMD check
4139
_R_CHECK_CRAN_INCOMING_: false
4240
_R_CHECK_LENGTH_1_CONDITION_: true
4341
_R_CHECK_LENGTH_1_LOGIC2_: true
4442
_R_CHECK_MATRIX_DATA_: true
4543
_R_CHECK_SUGGESTS_ONLY_: true
44+
_R_CHECK_THINGS_IN_TEMP_DIR_: true
45+
RCMDCHECK_ERROR_ON: note
46+
## Test in other locale (optional)
47+
LANGUAGE: ${{ matrix.config.language }}
4648

4749
steps:
4850
- uses: actions/checkout@v3
@@ -82,7 +84,6 @@ jobs:
8284
run: |
8385
rcmdcheck::rcmdcheck(
8486
args = c("--no-manual", "--as-cran"),
85-
error_on = "note",
8687
check_dir = "check"
8788
)
8889
shell: Rscript {0}

.github/workflows/future_tests.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ jobs:
66
future_tests:
77
if: "! contains(github.event.head_commit.message, '[ci skip]')"
88

9+
timeout-minutes: 30
10+
911
runs-on: ubuntu-20.04
1012

1113
name: future.plan=${{ matrix.future.plan }}

inst/templates/sge.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
## As-is resource specifications, e.g.
2929
## sge_options <- c("-pe smp 2", "-R yes")
3030
## plan(batchtools_sge, resources = list(asis = sge_options))
31-
if ("asis" %in% names(resouces)) {
31+
if ("asis" %in% names(resources)) {
3232
cat(sprintf("#$ %s\n", resources[["asis"]]))
3333
resources <- resources[names(resources) != "asis"]
3434
}

0 commit comments

Comments
 (0)