aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 6e75d666..e5f83c1f 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -80,12 +80,16 @@ clean:
$(RM) -r vignettes/web_only/*.R
$(RM) Rplots.pdf
+# We set PROCESSX_NOTIFY_OLD_SIGCHILD in order to avoid the message
+# "Error while shutting down parallel: unable to terminate some child processes",
+# which is said to be harmless, see https://processx.r-lib.org/#mixing-processx-and-the-parallel-base-r-package
+# and https://github.com/r-lib/processx/issues/236
test: install
- "$(RBIN)/Rscript" -e 'options(cli.dynamic = TRUE); devtools::test()' 2>&1 | tee log/test.log
+ PROCESSX_NOTIFY_OLD_SIGCHLD=true "$(RBIN)/Rscript" -e 'options(cli.dynamic = TRUE); devtools::test()' 2>&1 | tee log/test.log
sed -i -e "s/.*\r.*\r//" log/test.log
devtest: devinstall
- "$(RDEVBIN)/Rscript" -e 'options(cli.dynamic = TRUE); devtools::test()' 2>&1 | tee log/test_dev.log
+ PROCESSX_NOTIFY_OLD_SIGCHLD=true "$(RDEVBIN)/Rscript" -e 'options(cli.dynamic = TRUE); devtools::test()' 2>&1 | tee log/test_dev.log
sed -i -e "s/\r.*\r//" log/test_dev.log
slowtests: install

Contact - Imprint