Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
02a0089f
"vscode:/vscode.git/clone" did not exist on "ab7fdfc04efdca96ea5e2914bbffa1daa3f4aa15"
Unverified
Commit
02a0089f
authored
Apr 22, 2020
by
James Lamb
Committed by
GitHub
Apr 22, 2020
Browse files
[ci] added echoing of R CMD check logs to CI (#3009)
parent
b013af08
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
1 deletion
+9
-1
.ci/test_r_package.sh
.ci/test_r_package.sh
+9
-1
No files found.
.ci/test_r_package.sh
View file @
02a0089f
...
@@ -86,9 +86,17 @@ export _R_CHECK_FORCE_SUGGESTS_=0
...
@@ -86,9 +86,17 @@ export _R_CHECK_FORCE_SUGGESTS_=0
# fails tests if either ERRORs or WARNINGs are thrown by
# fails tests if either ERRORs or WARNINGs are thrown by
# R CMD CHECK
# R CMD CHECK
check_succeeded
=
"yes"
R CMD check
${
PKG_TARBALL
}
\
R CMD check
${
PKG_TARBALL
}
\
--as-cran
\
--as-cran
\
||
exit
-1
||
check_succeeded
=
"no"
echo
"R CMD check build logs:"
cat
${
BUILD_DIRECTORY
}
/lightgbm.Rcheck/00install.out
if
[[
$check_succeeded
==
"no"
]]
;
then
exit
-1
fi
if
grep
-q
-R
"WARNING"
"
$LOG_FILE_NAME
"
;
then
if
grep
-q
-R
"WARNING"
"
$LOG_FILE_NAME
"
;
then
echo
"WARNINGS have been found by R CMD check!"
echo
"WARNINGS have been found by R CMD check!"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment