Skip to content

Commit

Permalink
[ci] fix flaky R CMD check test about library size (#3308)
Browse files Browse the repository at this point in the history
  • Loading branch information
jameslamb authored Aug 15, 2020
1 parent 69a2691 commit 27c9aa8
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.*' \
Expand Down

0 comments on commit 27c9aa8

Please sign in to comment.