[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

@@ -8,6 +8,8 @@
#include <dmlc/timer.h>
#include <xgboost/logging.h>
#include <memory>
#if DMLC_ENABLE_STD_THREAD
#include "./sparse_page_dmatrix.h"
#include "../common/random.h"
#include "../common/group_data.h"
@@ -278,3 +280,4 @@ void SparsePageDMatrix::InitColAccess(const std::vector<bool>& enabled,
} // namespace data
} // namespace xgboost
#endif

View File

@@ -6,6 +6,8 @@
#include <dmlc/timer.h>
#include <xgboost/logging.h>
#include <memory>
#if DMLC_ENABLE_STD_THREAD
#include "./sparse_page_source.h"
namespace xgboost {
@@ -175,3 +177,4 @@ void SparsePageSource::Create(DMatrix* src,
} // namespace data
} // namespace xgboost
#endif