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

install package error #30

Open
WWz33 opened this issue Mar 16, 2024 · 4 comments
Open

install package error #30

WWz33 opened this issue Mar 16, 2024 · 4 comments

Comments

@WWz33
Copy link

WWz33 commented Mar 16, 2024

Hi Dr.James
when i want to install it,this error was thrown. I would be most grateful if u could give me some help .Anyway, when I devtools::install_github("other_packages"), everything is fine.

> R.version
               _                                
platform       x86_64-w64-mingw32               
arch           x86_64                           
os             mingw32                          
crt            ucrt                             
system         x86_64, mingw32                  
status                                          
major          4                                

minor          3.2                              
year           2023                             
month          10                               
day            31                               
svn rev        85441                            
language       R                                
version.string R version 4.3.2 (2023-10-31 ucrt)
nickname       Eye Holes                        
> 
Sys.info()
          sysname           release           version          nodename           machine 
        "Windows"          "10 x64"     "build 19045" "DESKTOP-37PT7FF"          "x86-64" 
            login              user    effective_user 
  "Administrator"   "Administrator"   "Administrator" 

when build_vignettes = T:error.txt
build_vignettes = F:error2.txt

Best !

@mglev1n
Copy link

mglev1n commented Mar 16, 2024

I've been noticing similar build errors lately as well, using Github Actions to test mac/linux/windows builds. It looks like forcing installation of an older version of RcppEigen (0.3.3.9.3) may have resolved the issue:

remotes::install_version('RcppEigen', version = '0.3.3.9.3')
remotes::install_github('jrs95/hyprcoloc', build_opts = c('--resave-data', '--no-manual'), upgrade = 'never')

@WWz33
Copy link
Author

WWz33 commented Mar 16, 2024

Hi Dr.James

I've successfully built it.Thanks for your help.

Best!

@laleoarrow
Copy link

laleoarrow commented Jun 15, 2024

Thank you for provide a possible solution! However, in my case I ran into similar issue with the installation with RcppEigen 0.3.3.9.3



ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0' not found
ld: warning: search path '/opt/gfortran/lib' not found
ld: library 'gfortran' not found
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.3-arm64/Resources/library/RcppEigen’

Any idea regarding this issue? Any thought is highly appreciated!

@laleoarrow
Copy link

laleoarrow commented Jun 16, 2024

Thank you for provide a possible solution! However, in my case I ran into similar issue with the installation with RcppEigen 0.3.3.9.3



ld: warning: search path '/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0' not found
ld: warning: search path '/opt/gfortran/lib' not found
ld: library 'gfortran' not found
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.3-arm64/Resources/library/RcppEigen’

Any idea regarding this issue? Any thought is highly appreciated!

For Mac user, I updated my solution on #33.

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

3 participants