grf-labs/sufrep

Installation issues

Closed this issue · 1 comments

Hi grf-labs team,

i am having trouble installing sufrep. I keep getting the following error message

devtools::install_github("grf-labs/sufrep")
Downloading GitHub repo grf-labs/sufrep@HEAD
√ checking for file 'C:\Users\hhsie\AppData\Local\Temp\Rtmpii4XUC\remotes31b048262f83\grf-labs-sufrep-317be9e/DESCRIPTION' ...

  • preparing 'sufrep': (1.3s)
    √ checking DESCRIPTION meta-information ...
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building 'sufrep_0.1.0.tar.gz'

Installing package into ‘C:/Users/hhsie/Dropbox/My PC (DESKTOP-A078MCC)/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)

  • installing source package 'sufrep' ...
    ** using staged installation
    ** R
    ** data
    *** moving datasets to lazyload DB
    ** byte-compile and prepare package for lazy loading
    ** help
    No man pages found in package 'sufrep'
    *** installing help indices
    ** building package indices
    ** testing if installed package can be loaded from temporary location
    *** arch - i386
    *** arch - x64
    ERROR: loading failed for 'i386'
  • removing 'C:/Users/hhsie/Dropbox/My PC (DESKTOP-A078MCC)/Documents/R/win-library/4.0/sufrep'
    Error: Failed to install 'sufrep' from GitHub:
    (converted from warning) installation of package ‘C:/Users/hhsie/AppData/Local/Temp/Rtmpii4XUC/file31b046463905/sufrep_0.1.0.tar.gz’ had non-zero exit status

Any suggestions for what I could do?
Thanks a lot for developing all these great tools.

Hans

Hi again, Sorry! I should have tried a bit more before asking, but I solved it by adding INSTALL_opts=c("--no-multiarch"). I.e., I installed it with:

devtools::install_github("grf-labs/sufrep", INSTALL_opts=c("--no-multiarch"))