Good Morning, we are trying to install Dataverse with ansible methode but it is not possible. The error display shows problems related to DescTools and compilation with c++ 17. We are trying manual installation of DescTools executing R and
I get this message :
aux_fct.cpp:48:10: error: ‘lcm’ is not a member of ‘std’
48 | std::lcm(a,b);
| ^~~
aux_fct.cpp: In function ‘long long int compute_GCD(long long int, long long int)’:
aux_fct.cpp:54:10: error: ‘gcd’ is not a member of ‘std’
54 | std::gcd(a,b);
| ^~~
make: *** [/usr/lib/R/etc/Makeconf:178: aux_fct.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘DescTools’
* removing ‘/root/R/x86_64-pc-linux-gnu-library/4.2/DescTools’
The downloaded source packages are in
‘/tmp/Rtmp0YyyI1/downloaded_packages’
Warning message:
In install.packages("DescTools") :
installation of package ‘DescTools’ had non-zero exit status
We are installing Debian 12.2 SO .
How can We install dataverse with ansible? Is it possible to correct the problem in ansible installation? o How can I install DescTools manually?
att
Marco Vinicio Gomez Gutierrez
SIBITEC, TEC Costa Rica