Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem for SpiecEasi installation #13

Closed
julcham1 opened this issue Feb 20, 2017 · 11 comments
Closed

Problem for SpiecEasi installation #13

julcham1 opened this issue Feb 20, 2017 · 11 comments

Comments

@julcham1
Copy link

julcham1 commented Feb 20, 2017

Hello,
I would like to report an issue during the installation of SpiecEasi. There is a space in the username of my computer, and it seems to disturb the installation, but I never had previous issue for installing any packages in RStudio before.
Does anyone know what happen ?
Thanks,
Julien

install_github("zdk123/SpiecEasi")
Downloading GitHub repo zdk123/SpiecEasi@master
from URL https://api.github.com/repos/zdk123/SpiecEasi/zipball/master
Installing SpiecEasi
Installing 2 packages: digest, Rcpp
Installing packages into ‘C:/Users/Jul & Cath/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/digest_0.6.12.zip'
Content type 'application/zip' length 172429 bytes (168 KB)
downloaded 168 KB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.2/Rcpp_0.12.9.zip'
Content type 'application/zip' length 3192849 bytes (3.0 MB)
downloaded 3.0 MB

package ‘digest’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘digest’
package ‘Rcpp’ successfully unpacked and MD5 sums checked
Warning: cannot remove prior installation of package ‘Rcpp’

The downloaded binary packages are in
	C:\Users\Jul & Cath\AppData\Local\Temp\RtmpAxmm9V\downloaded_packages
"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" --no-site-file --no-environ --no-save --no-restore --quiet CMD INSTALL "C:/Users/Jul &  \
  Cath/AppData/Local/Temp/RtmpAxmm9V/devtools6dec755524b/zdk123-SpiecEasi-d705428" --library="C:/Users/Jul &  \
  Cath/Documents/R/win-library/3.2" --install-tests 

Warning: package incorrect 'C:/Users/Jul'
Erreur : ERREUR : aucun package spécifié
'Cath' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
'Cath' n'est pas reconnu en tant que commande interne
ou externe, un programme ex‚cutable ou un fichier de commandes.
Error: Command failed (1)
@zdk123
Copy link
Owner

zdk123 commented Feb 20, 2017 via email

@galud27
Copy link

galud27 commented Mar 24, 2017

Hello zdk123,
I was using speac easy before but now when I try to use it I get the following error:

  • installing source package ‘SpiecEasi’ ...
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** inst
    ** tests
    ** preparing package for lazy loading
    Error in library.dynam(lib, package, package.lib) :
    shared object ‘stringi.so’ not found
    ERROR: lazy loading failed for package ‘SpiecEasi’
  • removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/SpiecEasi’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/SpiecEasi’
    Error: Command failed (1)

Do you have any ideas on hot wo fix this? Thank you!

@zdk123
Copy link
Owner

zdk123 commented Mar 24, 2017

@galud27 what command led to this error and what are your system specs?

Based on the error, it seems that you are missing the stringi package install.packages("stringi")

@galud27
Copy link

galud27 commented Mar 25, 2017

The install_github command. My R version is 3.3.2. I updated it and it stopped working. I did not install that package before, but I just did it and it works! Thank you 👍

@zdk123 zdk123 closed this as completed Jun 5, 2017
@jud-mog
Copy link

jud-mog commented Mar 19, 2019

I am trying to install SpiecEasi, but apparently SpiecEasi is not available for my R version (5.3.1).
Which version of R do I need to get that package ? Thks

@zdk123
Copy link
Owner

zdk123 commented Mar 19, 2019

@jud25 did you follow the installation instructions: https://github.com/zdk123/SpiecEasi#installation-1?

@jud-mog
Copy link

jud-mog commented Mar 19, 2019

Yes, I have followed the instructions but I have problem with Rcpp package which always fail to install (I have tried many times)...

@zdk123
Copy link
Owner

zdk123 commented Mar 19, 2019

can you post more information about your OS and R session? I can't do much to support an RCpp installation since this is platform dependent. But perhaps you are missing a C++ compiler? https://teuder.github.io/rcpp4everyone_en/020_install.html

Rcpp is not [currently] imported by the master branch of SpiecEasi (i.e. version 1) so I'm not even sure what other package is triggering the dependency.

@jud-mog
Copy link

jud-mog commented Mar 19, 2019

MacOS High Sierra, R version 3.5.1 (2018-07-02) and when trying to install through Cran repository, I get the following message "package 'SpiecEasi' is not available (for R version 3.5.1)"

@zdk123
Copy link
Owner

zdk123 commented Mar 19, 2019

The package is not available on CRAN, but you can install directly from github via the devtools package - please look again at instructions (posted above) in the README.

@bmasoumi
Copy link

Hello,

I work on a Mac with macOS Catalina ver10.15.7 and Rstudio 1.1.442 and R version 4.0.3.
I updated my R to this recent version because I thought the errors could be related to the old version of R. However, even after installing this recent version of R I get the same errors.

I have installed the following packages before attempting to install SpiecEasi:
library(ggplot2)
library(vegan)
library(biomformat)
library(devtools)
library(stats)
library(methods)
library(graphics)
library(grDevices)
library(huge)
library(pulsar)
library(MASS)
library(VGAM)
library(Matrix)
library(glmnet)
library(parallel)
library(boot)
library(phyloseq)
library(igraph)
library(batchtools) #package ‘batchtools’ is not available for this version of R
library(testthat)
install_github("zdk123/SpiecEasi")

Downloading GitHub repo zdk123/SpiecEasi@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: RcppEigen (0.3.3.7.0 -> 0.3.3.9.1) [CRAN]

In every attempt for installing SpiecEasi, I chose option 1: All.

And for the question about the source (binary or compilation) one time I said "Yes" and another time I said "No". And both times I got errors as follows. Could you please let me know what the issue is? What else I should do to fix this?
Thank you so much!


install_github("zdk123/SpiecEasi")
Downloading GitHub repo zdk123/SpiecEasi@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: RcppEigen (0.3.3.7.0 -> 0.3.3.9.1) [CRAN]

Enter one or more numbers, or an empty line to skip updates:1
RcppEigen (0.3.3.7.0 -> 0.3.3.9.1) [CRAN]
Installing 1 packages: RcppEigen

There is a binary version available but the source version is later:
binary source needs_compilation
RcppEigen 0.3.3.7.0 0.3.3.9.1 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) no
trying URL 'https://cran.rstudio.com/bin/macosx/contrib/4.0/RcppEigen_0.3.3.7.0.tgz'
Content type 'application/x-gzip' length 4852649 bytes (4.6 MB)

downloaded 4.6 MB

The downloaded binary packages are in
/var/folders/t6/ng4qvsgd53zd_6y6s46y2wgw0000gn/T//RtmpBFBFl8/downloaded_packages
✓ checking for file ‘/private/var/folders/t6/ng4qvsgd53zd_6y6s46y2wgw0000gn/T/RtmpBFBFl8/remotes12006653e3d92/zdk123-SpiecEasi-24f1075/DESCRIPTION’ (5.5s)
─ preparing ‘SpiecEasi’:
✓ checking DESCRIPTION meta-information
─ cleaning src
─ checking for LF line-endings in source and make files and shell scripts (359ms)
─ checking for empty or unneeded directories
Removed empty directory ‘SpiecEasi/inst’
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘SpiecEasi_1.1.0.tar.gz’

  • installing source package ‘SpiecEasi’ ...
    ** using staged installation
    ** libs
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c ADMM.cpp -o ADMM.o
    ADMM.cpp:25:9: warning: unused variable 'n' [-Wunused-variable]
    int n = A.n_cols;
    ^
    ADMM.cpp:36:9: warning: unused variable 'l' [-Wunused-variable]
    int l = k;
    ^
    ADMM.cpp:38:9: warning: unused variable 'n' [-Wunused-variable]
    int n = A.n_cols;
    ^
    3 warnings generated.
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include
    ' -I/usr/local/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c matops.cpp -o matops.o
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c sqrtNewton.cpp -o sqrtNewton.o
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppArmadillo/include' -I/usr/local/include -fPIC -Wall -g -O2 -c svthresh.cpp -o svthresh.o
    svthresh.cpp:11:9: warning: unused variable 'n' [-Wunused-variable]
    int n = A.n_cols;
    ^
    1 warning generated.
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.f
    ramework/Resources/lib -L/usr/local/lib -o SpiecEasi.so ADMM.o RcppExports.o matops.o sqrtNewton.o svthresh.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
    ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
    ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
    ld: library not found for -lgfortran
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [SpiecEasi.so] Error 1
    ERROR: compilation failed for package ‘SpiecEasi’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/SpiecEasi’
    Error: Failed to install 'SpiecEasi' from GitHub:
    (converted from warning) installation of package ‘/var/folders/t6/ng4qvsgd53zd_6y6s46y2wgw0000gn/T//RtmpBFBFl8/file1200617483f7d/SpiecEasi_1.1.0.tar.gz’ had non-zero exit status

This is the result of choosing "Yes" to compilation:

install_github("zdk123/SpiecEasi")
Downloading GitHub repo zdk123/SpiecEasi@HEAD
These packages have more recent versions available.
It is recommended to update all of them.
Which would you like to update?

1: All
2: CRAN packages only
3: None
4: RcppEigen (0.3.3.7.0 -> 0.3.3.9.1) [CRAN]

Enter one or more numbers, or an empty line to skip updates:1
RcppEigen (0.3.3.7.0 -> 0.3.3.9.1) [CRAN]
Installing 1 packages: RcppEigen

There is a binary version available but the source version is later:
binary source needs_compilation
RcppEigen 0.3.3.7.0 0.3.3.9.1 TRUE

Do you want to install from sources the package which needs compilation? (Yes/no/cancel) Yes
installing the source package ‘RcppEigen’
trying URL 'https://cran.rstudio.com/src/contrib/RcppEigen_0.3.3.9.1.tar.gz'
Content type 'application/x-gzip' length 1633360 bytes (1.6 MB)

downloaded 1.6 MB

  • installing source package ‘RcppEigen’ ...
    ** package ‘RcppEigen’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -I../inst/include -fPIC -Wall -g -O2 -c RcppEigen.cpp -o RcppEigen.o
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:1:
    In file included from ../inst/include/Eigen/Core:540:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:2:
    In file included from ../inst/include/Eigen/LU:47:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:12:
    In file included from ../inst/include/Eigen/Jacobi:29:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:15:
    In file included from ../inst/include/Eigen/Householder:27:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:5:
    In file included from ../inst/include/Eigen/SVD:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:6:
    In file included from ../inst/include/Eigen/Geometry:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:7:
    In file included from ../inst/include/Eigen/Eigenvalues:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:26:
    In file included from ../inst/include/Eigen/SparseCore:66:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:27:
    In file included from ../inst/include/Eigen/OrderingMethods:71:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:29:
    In file included from ../inst/include/Eigen/SparseCholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:32:
    In file included from ../inst/include/Eigen/SparseQR:34:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:33:
    In file included from ../inst/include/Eigen/IterativeLinearSolvers:46:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:32:
    In file included from ../inst/include/Eigen/CholmodSupport:45:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:35:
    In file included from ../inst/include/unsupported/Eigen/KroneckerProduct:34:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:39:
    In file included from ../inst/include/unsupported/Eigen/Polynomials:135:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppEigen.cpp:22:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:40:
    In file included from ../inst/include/unsupported/Eigen/SparseExtra:51:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    18 warnings generated.
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -I../inst/include -fPIC -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:1:
    In file included from ../inst/include/Eigen/Core:540:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:2:
    In file included from ../inst/include/Eigen/LU:47:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:12:
    In file included from ../inst/include/Eigen/Jacobi:29:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:15:
    In file included from ../inst/include/Eigen/Householder:27:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:5:
    In file included from ../inst/include/Eigen/SVD:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:6:
    In file included from ../inst/include/Eigen/Geometry:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:7:
    In file included from ../inst/include/Eigen/Eigenvalues:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:26:
    In file included from ../inst/include/Eigen/SparseCore:66:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:27:
    In file included from ../inst/include/Eigen/OrderingMethods:71:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:29:
    In file included from ../inst/include/Eigen/SparseCholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:32:
    In file included from ../inst/include/Eigen/SparseQR:34:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:33:
    In file included from ../inst/include/Eigen/IterativeLinearSolvers:46:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:32:
    In file included from ../inst/include/Eigen/CholmodSupport:45:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:35:
    In file included from ../inst/include/unsupported/Eigen/KroneckerProduct:34:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:39:
    In file included from ../inst/include/unsupported/Eigen/Polynomials:135:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from RcppExports.cpp:4:
    In file included from ./../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:40:
    In file included from ../inst/include/unsupported/Eigen/SparseExtra:51:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    18 warnings generated.
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -I../inst/include -fPIC -Wall -g -O2 -c fastLm.cpp -o fastLm.o
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:1:
    In file included from ../inst/include/Eigen/Core:540:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:2:
    In file included from ../inst/include/Eigen/LU:47:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:12:
    In file included from ../inst/include/Eigen/Jacobi:29:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:3:
    In file included from ../inst/include/Eigen/Cholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:15:
    In file included from ../inst/include/Eigen/Householder:27:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:4:
    In file included from ../inst/include/Eigen/QR:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:5:
    In file included from ../inst/include/Eigen/SVD:48:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:6:
    In file included from ../inst/include/Eigen/Geometry:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:30:
    In file included from ../inst/include/Eigen/Dense:7:
    In file included from ../inst/include/Eigen/Eigenvalues:58:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:26:
    In file included from ../inst/include/Eigen/SparseCore:66:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:27:
    In file included from ../inst/include/Eigen/OrderingMethods:71:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:29:
    In file included from ../inst/include/Eigen/SparseCholesky:43:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:32:
    In file included from ../inst/include/Eigen/SparseQR:34:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:31:
    In file included from ../inst/include/Eigen/Sparse:33:
    In file included from ../inst/include/Eigen/IterativeLinearSolvers:46:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:32:
    In file included from ../inst/include/Eigen/CholmodSupport:45:
    ../inst/include/Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:35:
    In file included from ../inst/include/unsupported/Eigen/KroneckerProduct:34:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:39:
    In file included from ../inst/include/unsupported/Eigen/Polynomials:135:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    In file included from fastLm.cpp:23:
    In file included from ./fastLm.h:25:
    In file included from ../inst/include/RcppEigen.h:25:
    In file included from ../inst/include/RcppEigenForward.h:40:
    In file included from ../inst/include/unsupported/Eigen/SparseExtra:51:
    ../inst/include/unsupported/Eigen/../../Eigen/src/Core/util/ReenableStupidWarnings.h:14:30: warning: pragma diagnostic pop could not pop, no matching push [-Wunknown-pragmas]
    #pragma clang diagnostic pop
    ^
    18 warnings generated.
    clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Library/Frameworks/R.framework/Versions/4.0/Resources/library/Rcpp/include' -I/usr/local/include -fPIC -Wall -g -O2 -c init.c -o init.o
    clang++ -mmacosx-version-min=10.13 -std=gnu++11 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o RcppEigen.so RcppEigen.o RcppExports.o fastLm.o init.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0 -L/usr/local/gfortran/lib -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
    ld: warning: directory not found for option '-L/usr/local/gfortran/lib/gcc/x86_64-apple-darwin18/8.2.0'
    ld: warning: directory not found for option '-L/usr/local/gfortran/lib'
    ld: library not found for -lgfortran
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [RcppEigen.so] Error 1
    ERROR: compilation failed for package ‘RcppEigen’
  • removing ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen’
  • restoring previous ‘/Library/Frameworks/R.framework/Versions/4.0/Resources/library/RcppEigen’
    Error: Failed to install 'SpiecEasi' from GitHub:
    (converted from warning) installation of package ‘RcppEigen’ had non-zero exit status

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants