Problems Installing DescTools in R - Linux Mint Environment
mfm2174 opened this issue · 5 comments
Hi,
I tried in different ways to download DescTools:
1- I tried with CRAN
2- Using the script: if (!require("remotes")) install.packages("remotes")
remotes::install_github("AndriSignorell/DescTools")
I tried all of them with Rstudio
None of the options above worked!
Can you help me please?
@mfm2174: What do you think, based on what information would you expect us to help you? ;-)
I'm getting a similar issue on MacOS Ventura R4.2.2. While trying to install the package with remotes
I get a compilation error. Here are the error lines:
aux_fct.cpp:48:10: error: no member named 'lcm' in namespace 'std'
std::lcm(a,b);
~~~~~^
aux_fct.cpp:54:10: error: no member named 'gcd' in namespace 'std'
std::gcd(a,b);
~~~~~^
2 errors generated.
make: *** [aux_fct.o] Error 1
ERROR: compilation failed for package ‘DescTools’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/DescTools’
* restoring previous ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/DescTools’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/kj/q4l5f93n6vg3tls_6v842mgc0000gn/T//Rtmprjxa1d/file1076c7c2b4f28/DescTools_0.99.51.tar.gz’ had non-zero exit status
The DescTools
I managed to install previously was DescTools_0.99.49
@mfm2174: What do you think, based on what information would you expect us to help you? ;-)
It only appeared that was impossible to find DescTool, but nothing else appeared in Linux Mint System.
Anyway, I looked for other options, I was trying to install FIELImageR package in R but was impossible mission, the dependency DescTools was not able to be download it.
If you know something about it, let me know please.
@mfm2174: What do you think, based on what information would you expect us to help you? ;-)
It only appeared that was impossible to find DescTool, but nothing else appeared in Linux Mint System. Anyway, I looked for other options, I was trying to install FIELImageR package in R but was impossible mission, the dependency DescTools was not able to be download it.
If you know something about it, let me know please.
FIELDimageR PACKAGE, that is the correct name.
I'm getting a similar issue on MacOS Ventura R4.2.2. While trying to install the package with
remotes
I get a compilation error. Here are the error lines:aux_fct.cpp:48:10: error: no member named 'lcm' in namespace 'std' std::lcm(a,b); ~~~~~^ aux_fct.cpp:54:10: error: no member named 'gcd' in namespace 'std' std::gcd(a,b); ~~~~~^ 2 errors generated. make: *** [aux_fct.o] Error 1 ERROR: compilation failed for package ‘DescTools’ * removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/DescTools’ * restoring previous ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/DescTools’ Warning message: In i.p(...) : installation of package ‘/var/folders/kj/q4l5f93n6vg3tls_6v842mgc0000gn/T//Rtmprjxa1d/file1076c7c2b4f28/DescTools_0.99.51.tar.gz’ had non-zero exit status
The
DescTools
I managed to install previously was DescTools_0.99.49
@marianovosolov Please use R version >= 4.3.0, this error is related to #128