Skip to content

Commit da03092

Browse files
committed
fix cleanup params; test SSH on GHA
this will include the .Rrofile option during 'make test', but not the package checking -> so we test +/- multicore scheduler set
1 parent dcdf014 commit da03092

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.github/workflows/check-standard.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
run: |
7272
R CMD INSTALL .
7373
echo '.libPaths("~/work/_temp/Library")' >> ~/.Rprofile # cmq package in R
74+
echo 'options(clustermq.scheduler="multicore")' >> ~/.Rprofile
7475
echo "$(pwd)/tests/bin" >> $GITHUB_PATH # local cmq
7576
sed -i "1iexport PATH=$(pwd)/tests/bin:\$PATH" ~/.bashrc || true # ssh cmq
7677

R/qsys_ssh.r

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ SSH = R6::R6Class("SSH",
4141
private$workers_total = args$n_jobs
4242
},
4343

44-
cleanup = function(quiet=FALSE) {
44+
cleanup = function(success, timeout) {
4545
private$finalize()
4646
TRUE
4747
}

0 commit comments

Comments
 (0)