Closed aminadibi closed 7 years ago
This has been posted on Stackoverflow:
The only way that I found working for me is setting the options:
library(devtools) options(devtools.install.args = "--no-multiarch")
install_github("ramnathv/rCharts")
That's it! On Windows, one needs to do this: library(devtools) options(devtools.install.args = "--no-multiarch") install_github('aminadibi/epicR')
The problem was that build files in /src
were being pushed to github. Adding the following as .gitignore to /src
solved the problem:
# Created by https://www.gitignore.io/api/c
### C ###
# Prerequisites
*.d
# Object files
*.o
*.ko
*.obj
*.elf
# Linker output
*.ilk
*.map
*.exp
# Precompiled Headers
*.gch
*.pch
# Libraries
*.lib
*.a
*.la
*.lo
# Shared objects (inc. Windows DLLs)
*.dll
*.so
*.so.*
*.dylib
# Executables
*.exe
*.out
*.app
*.i*86
*.x86_64
*.hex
# Debug files
*.dSYM/
*.su
*.idb
*.pdb
# Kernel Module Compile Results
*.mod*
*.cmd
modules.order
Module.symvers
Mkfile.old
dkms.conf
# End of https://www.gitignore.io/api/c
i386 architecture must be excluded in Windows, otherwise it causes the following error
however, it is unclear how this can be done. The question has been asked in stackoverflow and remains unanswered.
Mac OS doesn't show the same issue.