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
9a10b19a
Unverified
Commit
9a10b19a
authored
Jul 04, 2024
by
James Lamb
Committed by
GitHub
Jul 04, 2024
Browse files
[ci] [R-package] run 'R CMD check' as a foreground task (#6508)
parent
00d6edd2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
16 deletions
+4
-16
.ci/test_r_package.sh
.ci/test_r_package.sh
+4
-16
No files found.
.ci/test_r_package.sh
View file @
9a10b19a
...
...
@@ -200,22 +200,10 @@ fi
# fails tests if either ERRORs or WARNINGs are thrown by
# R CMD CHECK
check_succeeded
=
"yes"
(
R CMD check
${
PKG_TARBALL
}
\
R CMD check
${
PKG_TARBALL
}
\
--as-cran
\
--run-donttest
\
||
check_succeeded
=
"no"
)
&
# R CMD check suppresses output, some CIs kill builds after
# a few minutes with no output. This trick gives R CMD check more time
# * https://github.com/travis-ci/travis-ci/issues/4190#issuecomment-169987525
# * https://stackoverflow.com/a/29890106/3986677
CHECK_PID
=
$!
while
kill
-0
${
CHECK_PID
}
>
/dev/null 2>&1
;
do
echo
-n
-e
"
\b
"
sleep
5
done
||
check_succeeded
=
"no"
echo
"R CMD check build logs:"
BUILD_LOG_FILE
=
lightgbm.Rcheck/00install.out
...
...
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