Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[R-package] silence more logs in tests #5208

Merged
merged 1 commit into from
May 11, 2022
Merged

Conversation

jameslamb
Copy link
Collaborator

Contributes to #4862.

Silences additional logs produced by the R package's unit tests.

Notes for Reviewers

This PR reduces the number of logs printed by the R package's tests from 1616 lines to 636 lines.

sh build-cran-package --no-build-vignettes
R CMD INSTALL --with-keep.source ./lightgbm_3.3.2.99.tar.gz
cd R-package/tests
Rscript testthat.R > ../../out.log 2>&1
echo "log lines from tests: $(cat ../../out.log | wc -l)"

@jameslamb jameslamb merged commit 0018206 into master May 11, 2022
@jameslamb jameslamb deleted the r/more-test-verbosity branch May 11, 2022 19:36
@StrikerRUS
Copy link
Collaborator

This PR reduces the number of logs printed by the R package's tests from 1616 lines to 636 lines.

That's great! 🚀 Thank you!

@jameslamb jameslamb mentioned this pull request Oct 7, 2022
40 tasks
@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants