From eaeedbe00c16da80ce376e1f2dff3a4949a6ddcc Mon Sep 17 00:00:00 2001 From: James Lamb Date: Fri, 14 Aug 2020 23:51:12 -0500 Subject: [PATCH] [ci] fix flaky R CMD check test about library size --- .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.*' \