Skip to content

Commit 723937d

Browse files
committed
Update travis script to fix notification [revdep skip]
1 parent e43545f commit 723937d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runTravisTests.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ if [ -d tests/testthat ]; then
1111
echo "tmp <- unlist(strsplit(split='[[:space:]]+', out[line.fail]))" >> test.R
1212
echo "pos.fail <- grep('FAIL', tmp)" >> test.R
1313
echo "n.fail <- as.numeric(tmp[pos.fail+1])" >> test.R
14-
echo "res <- as.data.frame(res); out <- data.frame(file = unlist(res[['file']]), warning = unlist(res[['warning']]))" >> test.R
15-
echo "write.csv(out, file='test_results.csv')" >> test.R
14+
echo "res <- as.data.frame(res); out <- data.frame(fail = res[['failed']] + res[['error']], file = unlist(res[['file']]), warning = unlist(res[['warning']]))" >> test.R
15+
echo "write.csv(out, file='test_results.csv', row.names = FALSE)" >> test.R
1616
echo "quit(status = !identical(n.fail, 0), save='no')" >> test.R
1717
Rscript --default-packages="datasets,utils,grDevices,graphics,stats,methods" test.R
1818
exit $?

0 commit comments

Comments
 (0)