我正在尝试使用RStudio安装RePsychLing
软件包,并且一次又一次遇到相同的错误。
必须使用我已经安装的devtools
从website下载该软件包。我需要在RStudio中编写的代码是devtools::install_github("dmbates/RePsychLing")
这是我得到的错误(都来自RStudio和R本身):
Downloading GitHub repo dmbates/RePsychLing@master
tar: Failed to set default locale
tar: Failed to set default locale
During startup - Warning messages:
1: Setting LC_CTYPE failed, using "C"
2: Setting LC_TIME failed, using "C"
3: Setting LC_MESSAGES failed, using "C"
4: Setting LC_MONETARY failed, using "C"
<U+221A> checking for file '/private/var/folders/2d/t2899bk50r1gjbjvgqyj63nh0000gp/T/RtmpJMVAfL/remotes749271204207/dmbates-RePsychLing-392adf1/DESCRIPTION'
- preparing 'RePsychLing':
<U+221A> 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 'RePsychLing_0.0.4.tar.gz' (941ms)
Error: (converted from warning) Setting LC_CTYPE failed, using "C"
Execution halted
Error in i.p(...) :
(converted from warning) installation of package '/var/folders/2d/t2899bk50r1gjbjvgqyj63nh0000gp/T//RtmpJMVAfL/file749239303256/RePsychLing_0.0.4.tar.gz' had non-zero exit status
有人知道这是什么意思,或者我要下载该软件包需要做什么吗?