vinecopulib / rvinecopulib

R interface to the vinecopulib C++ library
GNU General Public License v3.0
34 stars 9 forks source link

Cannot install version 0.5.2.1.0 on Linux Iridis 5 #212

Closed sw2d16 closed 4 years ago

sw2d16 commented 4 years ago

Dear authors,

I have problem installing the latest version of rvinecopulib (version 0.5.2.1.0). Could you please kindly have a look at the error messages (shown below) for me. I have installed the essential packages, e.g. RcppEigen, Rcpp, BH, wdm, RcppThread, kde1d. I am using R version 3.5.2 ("Eggshell Igloo").

=============================================================

devtools::install_github("vinecopulib/rvinecopulib@v0.5.2.1.0") Downloading GitHub repo vinecopulib/rvinecopulib@v0.5.2.1.0 v checking for file '/tmp/RtmpJo03YK/remotes4b10e252d27c4/vinecopulib-rvinecopulib-cf2cc69/DESCRIPTION' (1.3s)

  • preparing 'rvinecopulib': v checking DESCRIPTION meta-information ...
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts (339ms)
  • checking for empty or unneeded directories Removed empty directory 'rvinecopulib/.github'
  • building 'rvinecopulib_0.5.2.1.0.tar.gz' Warning: invalid uid value replaced by that for user 'nobody'

Installing package into '/mainfs/home/sw2d16/R/x86_64-pc-linux-gnu-library/3.5' (as 'lib' is unspecified)

============================================================= Thank you so much in advance for your help.

Suttisak

tvatter commented 4 years ago

@sw2d16 it seems like the error is coming from either your compiler not supporting some C++11 stuff or from issues in RcppThread.

Two ideas:

@tnagler other ideas? The parameter packs not expanded with '…' error seems something known.

tnagler commented 4 years ago

Seems to be the same problem as in this RcppThread issue. Updating g++ should do the trick.

sw2d16 commented 4 years ago

Dear Thibault and Thomas,

Thank you so much for your speedy responses. I have tried installing RcppThread-dependency packages and found them to be failed as well as rvinecopulib. So I agree with you it was about the compiler. Since I have no ability to update or alter anything on it (since the platform I am using belongs to the university system), I would contact them and point out this problem.

Would let you know how it goes. Thank you so so much :)

Suttisak

tvatter commented 4 years ago

Yeah, I figured that Linux Iridis 5 must be a computing cluster :) Hopefully the admins will be able to install a newer version of the C++ compiler, as it seems like the one currently installed isn't fully C++11 compliant.

Is https://www.southampton.ac.uk/isolutions/staff/iridis.page the cluster that you are using?

sw2d16 commented 4 years ago

Dear Thibault,

I sorted it. Yes, it is Iridis5 from Southampton university. The admins suggested me to update gcc module to version 6.4.0 (made to fit with the recent R packages) and that made rvinecopulib being able to be installed. Thank you both of you for your time helping me and for creating this amazing package. I would enjoy using it.

Cheers,

Suttisak