Open gards6 opened 4 years ago
I have the same issue, tried pretty much everything in the docs but keeps failing
testing if installed package can be loaded from temporary location
Error in slibs[are_shared] : invalid subscript type 'list'
* removing ‘miniconda3/envs/renv/lib/R/library/vctrs’
* restoring previous ‘miniconda3/envs/renv/lib/R/library/vctrs’
ERROR: dependencies ‘igraph’, ‘base64enc’ are not available for package ‘threejs’
* removing ‘miniconda3/envs/renv/lib/R/library/threejs’
ERROR: dependency ‘zoo’ is not available for package ‘xts’
* removing ‘miniconda3/envs/renv/lib/R/library/xts’
ERROR: dependencies ‘checkmate’, ‘matrixStats’ are not available for package ‘loo’
* removing ‘miniconda3/envs/renv/lib/R/library/loo’
ERROR: dependency ‘markdown’ is not available for package ‘knitr’
* removing ‘miniconda3/envs/renv/lib/R/library/knitr’
ERROR: dependencies ‘zoo’, ‘xts’ are not available for package ‘dygraphs’
* removing ‘miniconda3/envs/renv/lib/R/library/dygraphs’
* installing *source* package ‘tidyselect’ ...
** package ‘tidyselect’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
namespace ‘rlang’ 0.4.2 is being loaded, but >= 0.4.3 is required
Calls: <Anonymous> ... withCallingHandlers -> loadNamespace -> namespaceImport -> loadNamespace
Execution halted
Why the software you guys made are so so hard to install?
What is your gcc version? (gcc -v
at the terminal)
These are hinting to me that you are using an older version of gcc that doesn't support C++14 or you need to include -std=c++14
in ~/.R/Makevars CXXFLAGS
/usr/lib64/R/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:47: warning: defaulted and deleted functions only available with -std=c++0x or -std=gnu++0x
/usr/lib64/R/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:60: warning: defaulted and deleted functions only available with -std=c++0x or -std=gnu++0x
/usr/lib64/R/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:61: warning: defaulted and deleted functions only available with -std=c++0x or -std=gnu++0x
/usr/lib64/R/library/StanHeaders/include/stan/math/rev/core/autodiffstackstorage.hpp:62: warning: defaulted and deleted functions only available with -std=c++0x or -std=gnu++0x
For redhat you'll likely need to either update your gcc manually or use the red hat developer toolkit which comes with a newer version of gcc
https://developers.redhat.com/products/developertoolset/overview
@kirk86 that looks like an issue with installing igraph
? Or was that not the full output?
I ended up installing r-stan
through conda
.
Summary:
The rstan package installation as detailed on https://github.com/stan-dev/rstan/wiki/Installing-RStan-on-Linux failed.
Description:
I am unable to install rstan from source on Linux RedHat.
Reproducible Steps:
Following instructions on the getting started page (url above), I enter the following into the console:
. Then, following the same instructions, I enter:
. Then I restart the R session, opting to save the workspace image (C++ toolchain configuration), and enter the following into the console:
. I have also tried
. But neither option was successful. If you have a reproducible example, please include it.
Current Output:
Expected Output:
NA
RStan Version:
‘2.17.3’
R Version:
R version 3.5.2 (2018-12-20)
Operating System:
x86_64-redhat-linux-gnu (64-bit)