quick fix of solaris problem in cranc check

This commit is contained in:
tqchen
2015-08-01 09:18:34 -07:00
parent 3a091fa302
commit 8083c30e7b
3 changed files with 13 additions and 11 deletions

View File

@@ -24,10 +24,10 @@ If you face an issue installing the package using ```devtools::install_github``
```
devtools::install_github('dmlc/xgboost',subdir='R-package')
Downloading github repo dmlc/xgboost@master
Error in function (type, msg, asError = TRUE) :
Error in function (type, msg, asError = TRUE) :
Peer certificate cannot be authenticated with given CA certificates
```
To get around this you can build the package locally as mentioned [here](https://github.com/dmlc/xgboost/issues/347) -
To get around this you can build the package locally as mentioned [here](https://github.com/dmlc/xgboost/issues/347) -
```
1. Clone the current repository and set your workspace to xgboost/R-package/
2. Run R CMD INSTALL --build . in terminal to get the tarball.

View File

@@ -32,7 +32,7 @@ extern "C" {
bool CheckNAN(double v) {
return ISNAN(v);
}
bool LogGamma(double v) {
double LogGamma(double v) {
return lgammafn(v);
}
} // namespace utils