diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f227e79c7..8d2360f104 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -164,7 +164,7 @@ test-rel-cran-lin: # currently released R on Linux, extra NOTEs check and build - R CMD check --as-cran $(ls -1t data.table_*.tar.gz | head -n 1) - *cleanup-src - >- - Rscript -e 'l<-readLines("data.table.Rcheck/00check.log"); if (!identical(l[length(l)], "Status: 1 NOTE")) stop("Last line of ", shQuote("00check.log"), " is not ", shQuote("Status: 1 NOTE"), "(size of tarball) but ", shQuote(toString(l[length(l)]))) else q("no")' + Rscript -e 'l<-tail(readLines("data.table.Rcheck/00check.log"), 1L); if (!identical(l, "Status: 1 NOTE")) stop("Last line of ", shQuote("00check.log"), " is not ", shQuote("Status: 1 NOTE"), " (size of tarball) but ", shQuote(l)) else q("no")' test-dev-cran-lin: # R-devel on Linux, --enable-strict-barrier --disable-long-double <<: *test-cran-lin