0

我从 Github 安装包 'HonestDiD' 一直没有成功。它说有问题的包“具有非零退出状态”。我按照这里给出的说明进行操作。知道如何解决这个问题吗?这是代码/完整的错误消息。

    devtools::install_github("asheshrambachan/HonestDiD")
    Downloading GitHub repo asheshrambachan/HonestDiD@HEAD
    These packages have more recent versions available.
    It is recommended to update all of them.
    Which would you like to update?
    
     1: All                                      
     2: CRAN packages only                       
     3: None                                     
    
    Enter one or more numbers, or an empty line to skip updates:3
    √  checking for file 'C:\Users\louis\AppData\Local\Temp\RtmpkZzlr8\remotes43401e3a797\asheshrambachan-HonestDiD-1723b17/DESCRIPTION' ...
    -  preparing 'HonestDiD': (601ms)
    √  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 'HonestDiD_0.1.0.tar.gz'
       
    Installing package into ‘C:/Users/louis/OneDrive/Documents/R/win-library/3.6’
    (as ‘lib’ is unspecified)
    * installing *source* package 'HonestDiD' ...
    ** using staged installation
    ** R

** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
Error: (converted from warning) package 'CVXR' was built under R version 3.6.3
Execution halted
ERROR: lazy loading failed for package 'HonestDiD'
* removing 'C:/Users/louis/OneDrive/Documents/R/win-library/3.6/HonestDiD'
Error: Failed to install 'HonestDiD' from GitHub:
  (converted from warning) installation of package ‘C:/.../HonestDiD_0.1.0.tar.gz’ had non-zero exit status
4

0 回答 0