[R] make all customizations to meet strict standard of cran

This commit is contained in:
tqchen
2016-01-15 16:41:06 -08:00
parent 634db18a0f
commit 1495a43cea
23 changed files with 397 additions and 75 deletions

View File

@@ -9,6 +9,8 @@
#include "./common/sync.h"
namespace xgboost {
#if XGBOOST_CUSTOMIZE_LOGGER == 0
ConsoleLogger::~ConsoleLogger() {
std::cout << log_stream_.str() << std::endl;
}
@@ -17,4 +19,5 @@ TrackerLogger::~TrackerLogger() {
log_stream_ << '\n';
rabit::TrackerPrint(log_stream_.str());
}
#endif
} // namespace xgboost