首页 > 解决方案 > GitHub 安装在包“MazamaScience/RAWSmet”上

问题描述

这是该软件包的 GitHub 站点:https ://github.com/MazamaScience/RAWSmet 。我使用 devtools::install_github('MazamaScience/RAWSmet') 并收到错误消息:

> devtools::install_github('MazamaScience/RAWSmet')
Downloading GitHub repo MazamaScience/RAWSmet@HEAD
√  checking for file 'C:\Users\ygrund\AppData\Local\Temp\RtmpaUK4eB\remotes2c14665e277e\MazamaScience-RAWSmet-bced3ce/DESCRIPTION' ...
-  preparing 'RAWSmet': (536ms)
√  checking DESCRIPTION meta-information ... 
-  checking for LF line-endings in source and make files and shell scripts (352ms)
-  checking for empty or unneeded directories
-  building 'RAWSmet_0.2.4.tar.gz'
   
Installing package into ‘C:/Users/ygrund/Documents/R/win-library/4.0’
(as ‘lib’ is unspecified)
* installing *source* package 'RAWSmet' ...
** using staged installation
** R
** data
*** moving datasets to lazyload DB
** byte-compile and prepare package for lazy loading
Error: object 'US_stateCodeToName' is not exported by 'namespace:MazamaSpatialUtils'
Execution halted
ERROR: lazy loading failed for package 'RAWSmet'
* removing 'C:/Users/ygrund/Documents/R/win-library/4.0/RAWSmet'
* restoring previous 'C:/Users/ygrund/Documents/R/win-library/4.0/RAWSmet'
Error: Failed to install 'RAWSmet' from GitHub:
  (converted from warning) installation of package ‘C:/Users/ygrund/AppData/Local/Temp/RtmpaUK4eB/file2c1440477e33/RAWSmet_0.2.4.tar.gz’ had non-zero exit status

我不明白这里有什么问题。任何帮助将不胜感激。

标签: rgitgithubinstallationpackage

解决方案


推荐阅读