问题下载 gribr 包

问题描述

我一直在尝试下载 R 包 gribr 以处理 R 中的 grib 数据文件,但在下载时遇到了一些问题。任何有关如何实现这一目标的帮助或指导将不胜感激。

remotes::install_github("nawendt/gribr")
> Downloading GitHub repo nawendt/gribr@HEAD
√  checking for file 'C:\Users\AppData\Local\Temp\RtmpsDzyVa\remotes81ac6bc768ec\nawendt-gribr-c1ea732/DESCRIPTION' (2.2s)
-  preparing 'gribr':
√  checking DESCRIPTION Meta-information ... 
-  cleaning src
-  running 'cleanup.win'
-  checking for LF line-endings in source and make files and shell scripts (336ms)
-  checking for empty or unneeded directories
-  building 'gribr_1.2.3.tar.gz'
   Warning: file 'gribr/cleanup' did not have execute permissions: corrected
   Warning: file 'gribr/configure' did not have execute permissions: corrected
   
* installing *source* package 'gribr' ...
** using staged installation
** libs
Warning: this package has a non-empty 'configure.win' file,so building only the main architecture

"C:/rtools40/mingw64/bin/"gcc  -I"C:/Users/DOCUME~1/R/R-40~1.3/include" -DNDEBUG          -O2 -Wall  -std=gnu99 -mfpmath=sse -msse2 -mstackrealign -c grib_api_version.c -o grib_api_version.o
In file included from grib_api_version.c:4:
gribr.h:1:10: Fatal error: eccodes.h: No such file or directory
 #include <eccodes.h>
          ^~~~~~~~~~~
compilation terminated.
make: *** [C:/Users/DOCUME~1/R/R-40~1.3/etc/x64/Makeconf:222: grib_api_version.o] Error 1
ERROR: compilation Failed for package 'gribr'
* removing 'C:/Users/Documents/R/R-4.0.3/library/gribr

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

Selenium Web驱动程序和Java。元素在(x,y)点处不可单击。其...
Python-如何使用点“。” 访问字典成员?
Java 字符串是不可变的。到底是什么意思?
Java中的“ final”关键字如何工作?(我仍然可以修改对象。...
“loop:”在Java代码中。这是什么,为什么要编译?
java.lang.ClassNotFoundException:sun.jdbc.odbc.JdbcOdbc...