From 27c9aa88c13aa9d96829c3a20ffbe3073d39c34e Mon Sep 17 00:00:00 2001 From: James Lamb Date: Sat, 15 Aug 2020 09:50:37 +0100 Subject: [PATCH] [ci] fix flaky R CMD check test about library size (#3308) --- .ci/test_r_package.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.ci/test_r_package.sh b/.ci/test_r_package.sh index 57aeb7016633..9bbc35b5672f 100755 --- a/.ci/test_r_package.sh +++ b/.ci/test_r_package.sh @@ -199,11 +199,7 @@ if grep -q -R "WARNING" "$LOG_FILE_NAME"; then exit -1 fi -if [[ $OS_NAME == "linux" ]] && [[ $R_BUILD_TYPE == "cran" ]]; then - ALLOWED_CHECK_NOTES=2 -else - ALLOWED_CHECK_NOTES=1 -fi +ALLOWED_CHECK_NOTES=2 NUM_CHECK_NOTES=$( cat ${LOG_FILE_NAME} \ | grep -e '^Status: .* NOTE.*' \