Comments (7)
Please look up 'minimally verifiable complete example' or see eg here.
I cannot help you with a mere collation of error messages. Sorry. If it helps you, here is the page at CRAN showing it works for them on every system and we may consider them to be unbiased referees.
Lastly, no need to file the same issue twice.
from rcppeigen.
I've extracted out my example below removing some of our stuff for the minimally verifiable complete example. R dependency hell is far worse then Python, node, or java, as a lot of R packages don't use configure, autoconf, or other tools that help figure out what's missing...
Dockerfile
# Base image
FROM rocker/shiny:latest
RUN echo "deb http://ftp.debian.org/debian stretch-backports main" >> /etc/apt/sources.list.d/backports.list
RUN apt-get update -y
RUN apt-get upgrade -y
RUN export DEBIAN_FRONTEND=noninteractive
# Installing packages required for requirements.R
RUN apt-get install -y cron \
git \
vim \
libssl-dev \
libnlopt-dev \
libgit2-dev \
libssh2-1-dev \
liblapack-dev \
libeigen3-dev \
libjpeg-dev \
libblas-dev \
libomp-dev \
build-essential \
libigraph0-dev \
libboost-all-dev \
libopenblas-dev \
libatlas-base-dev \
gfortran \
libxml2-dev \
libglpk-dev \
libgmp-dev \
libexplain-dev \
libbsd-dev \
tcl-dev \
tk-dev \
libxaw7-dev \
libgd2-xpm-dev
COPY ./rconfig/requirements.R /tmp/requirements.R
RUN Rscript /tmp/requirements.R
EXPOSE 3838
CMD ["/usr/bin/shiny-server.sh"]
below is for ./rconfig/requirements.R
if (!requireNamespace("BiocManager"))
install.packages("BiocManager")
BiocManager::install()
BiocManager::install("graph", version = "3.8")
BiocManager::install("BiocInstaller", version = "3.8")
BiocManager::install("Rgraphviz", version = "3.8")
BiocManager::install("marray", version = "3.8")
BiocManager::install("affy", version = "3.8")
BiocManager::install("Biobase", version = "3.8")
BiocManager::install("limma", version = "3.8")
BiocManager::install("RBGL", version = "3.8")
list.of.packages <- c("ipred"
,"prodlim"
,"dimRed"
,"ddalpha"
,"recipes"
,"shinyFiles"
,"rhandsontable"
,"shinydashboard"
,"jpeg"
,"leaflet"
,"Rdonlp2"
,"d3heatmap"
,"networkD3"
,"bnlearn"
,"DT"
,"arules"
,"cleanr"
,"elastic"
,"elasticsearchr"
,"plotly"
,"rsconnect"
,"ggmap"
,"mapdata"
,"bh"
,"rcpp"
,"devtools"
,"dplyr"
,"data.table"
,"nlme"
,"hexbin"
,"broom"
,"plyr"
,"xtable"
,"pbkrtest"
,"caret"
,"e1071"
,"shinydashboard"
,"shiny"
,"digest"
,"magrittr"
,"httr"
,"jsonlite"
,"tibble"
,"ggplot2")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
#if(length(new.packages)) install.packages(new.packages, repos='https://cran.rstudio.com/ 3', dependencies = TRUE)
if(length(new.packages)) install.packages(new.packages, dependencies = TRUE)
for (i.pack in 1:length(list.of.packages)){
suppressMessages(require(list.of.packages[i.pack], character.only = TRUE, quietly = TRUE, warn.conflicts = FALSE))
}
# update.packages(checkBuilt=TRUE, ask=FALSE)
update.packages(ask = FALSE)
BTW, about that double submission, appears that was Microsoft is getting a bit too aggressive on it's new feature enabling, there was a button to enable likeness of reporting, and apparently that reset in the middle of submitting the new ticket...
from rcppeigen.
Hi @montge , this is a compiler warning from the Eigen library, and you can turn it off by adding the -Wno-ignored-attributes
option to GCC.
from rcppeigen.
R dependency hell is far worse then Python, node, or java,
Utter nonsense.
from rcppeigen.
You are "wildcard installing" what will amount to a substantial portion of CRAN. In one go. Good luck with that.
For what it is worth, I have more that that installed on the machine on which I (carefully, and regularly) check reverse dependencies of Rcpp and related packages (such as RcppEigen). And this Just Works (TM).
But I have lost interest in helping you when you come to the request for a MINIMALLY complete verifiable example with a script to install several dozen packages. That's how I want to spend my unpaid volunteer time. Sorry,
from rcppeigen.
@montge From your log it seems that you are installing my RSpectra. To clarify, these warnings will not prevent you from building and installing RSpectra. It merely generates a huge number of warning messages.
from rcppeigen.
I am still marveling at just how brazen this was. Starting with your list.of.packages
object (which is actually a vector
, but peu chere):
AP <- available.packages()
rl <- tools::package_dependencies(packages=list.of.packages,db=AP,recursive=TRUE,reverse=TRUE)
revdep <- unique(sort(do.call(c, rl)))
length(revdep)
we find that your fully resolved list of dependencies amounts to 5950 packages. Seriously?
from rcppeigen.
Related Issues (20)
- Warning messages: 1: partial match of 'df' to 'df.residual' HOT 6
- Unable to install v0.3.3.9.3 (zero exis status, warning: ignoring attributes on template argument ‘__m128) HOT 4
- Can't install on arm64 (MacOS) HOT 1
- EIGEN_DEFAULT_TO_ROW_MAJOR and other flags HOT 3
- Runtime error causing R session to crash HOT 6
- Undefined symbol: RcppEigen_Eigen_SSE HOT 3
- Error while trying to create shinyproxy image HOT 1
- no member named 'Rlog1p' in namespace 'std' HOT 11
- (Rcpp)Eigen 3.4.0 would help with C++17 HOT 2
- Small DESCRIPTION issue HOT 1
- Why macros for GCC in DisableStupidWarnings.h are commented HOT 2
- Small inconsistency in the `lmBenchmark.R` file? HOT 4
- Lots of warnings During Compilation HOT 1
- Can not install RcppEigen, RcppEigen.h: No such file or directory HOT 7
- make fastLm use mutliple threads HOT 3
- Error installing RcppEigen HOT 4
- Map dgCmatrix as integer sparse matrix HOT 6
- RcppEigen Submatrix Views HOT 2
- setFromTriplets function gets segfault error HOT 5
- Installation issues in a conda environment HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rcppeigen.