[R-package] Ensure print.lgb.Booster() works when objective is not explicitly set (#6850)
* Handling NULL objective when booster is printed, moving test functions out of method tests, creating unique tests for different method situations * Correcting whitespace * Adding types for integer slices * Moving test functions nearer to relevant tests, setting print to be default * Update R-package/tests/testthat/test_lgb.Booster.R --------- Co-authored-by:James Lamb <jaylamb20@gmail.com> Co-authored-by:
Nikita Titov <nekit94-08@mail.ru>
Showing
Please register or sign in to comment