im3sanger/dndscv

Fail to install

missstcxq opened this issue · 1 comments

Hi :)

I am trying to install by
library(devtools); install_github("im3sanger/dndscv")

Then I got

library(devtools); install_github("im3sanger/dndscv")
Downloading GitHub repo im3sanger/dndscv@HEAD
   During startup - Warning messages:
   1: Setting LC_MONETARY failed, using "C" 
   2: Setting LC_PAPER failed, using "C" 
   3: Setting LC_MEASUREMENT failed, using "C" 
✔  checking for file '/tmp/Rtmp9atDN6/remotesb3993ef0a917/im3sanger-dndscv-1e44478/DESCRIPTION' ...
─  preparing 'dndscv':
✔  checking DESCRIPTION meta-information ...
─  checking for LF line-endings in source and make files and shell scripts
─  checking for empty or unneeded directories
─  looking to see if a 'data/datalist' file should be added
─  building 'dndscv_0.0.1.0.tar.gz' (2.7s)
Installing package into '/root/R/x86_64-pc-linux-gnu-library/4.0'
(as 'lib' is unspecified)
Error: (converted from warning) Setting LC_MONETARY failed, using "C"
Execution halted
Error: Failed to install 'dndscv' from GitHub:
  (converted from warning) installation of package '/tmp/Rtmp9atDN6/fileb39968b0d809/dndscv_0.0.1.0.tar.gz' had non-zero exit status

I am using CentOS 8 and R 4.0.1. I have searched around and didn't manage to find a solution.
Could you please give a hint about what would be the problem here?
Many thanks in advance!

Solved by our lab admin. :D

Running

Sys.setenv(R_REMOTES_NO_ERRORS_FROM_WARNINGS=TRUE)

helped.