Skip to content

Commit

Permalink
Set ALLOWED_CHECK_NOTES to 2.
Browse files Browse the repository at this point in the history
  • Loading branch information
CharlesAuguste committed Aug 11, 2020
1 parent 6ae08d6 commit 165a7a7
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .ci/test_r_package.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,8 @@ 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 165a7a7

Please sign in to comment.