AndriSignorell/DescTools

compiler error

flybirdkh opened this issue · 3 comments

install.package(''DescTools') get error below
image

@flybirdkh - see #128 - this seems to be a problem with version 0.99.51, if your R version is < 4.3.0. I'm on R 4.2.3 and encountered this issue but was able to successfully install DescTools by installing 0.99.50 (for example, by doing this: devtools::install_version('DescTools', repos='https://cran.rstudio.com/', version='0.99.50'))

It solved
make the R default c++ compiler gnu++17

echo "CXX = g++ -std=gnu++17" >~.R/Makevars

Yes it i

@flybirdkh - see #128 - this seems to be a problem with version 0.99.51, if your R version is < 4.3.0. I'm on R 4.2.3 and encountered this issue but was able to successfully install DescTools by installing 0.99.50 (for example, by doing this: devtools::install_version('DescTools', repos='https://cran.rstudio.com/', version='0.99.50'))

Yes it, is. Please upgrade to R 4.3.0, it's time to move on. Thanks.