Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R Can';不安装GGT动画依赖项_R_Package_Gganimate - Fatal编程技术网

R Can';不安装GGT动画依赖项

R Can';不安装GGT动画依赖项,r,package,gganimate,R,Package,Gganimate,我正在尝试在R3.4.4上安装gganimate。如果我尝试devtools::install\u github('thomasp85/gganimate'),我会得到: 错误:依赖项“transformr”、“sf”、“gifski”不可用于包“gganimate” 尝试安装它们中的每一个都会导致一系列依赖项安装失败sf告诉我错误:包“单元”的配置失败单元告诉我如果未安装udunits2,请安装它。udunits2告诉我`错误:包“udunits2”的配置失败' 等等。如果我尝试安装其他软件包

我正在尝试在R3.4.4上安装gganimate。如果我尝试
devtools::install\u github('thomasp85/gganimate')
,我会得到:

错误:依赖项“transformr”、“sf”、“gifski”不可用于包“gganimate”

尝试安装它们中的每一个都会导致一系列依赖项安装失败<代码>sf告诉我
错误:包“单元”的配置失败
<代码>单元告诉我
如果未安装udunits2,请安装它。
udunits2
告诉我`错误:包“udunits2”的配置失败'

等等。如果我尝试安装其他软件包,我会遇到类似的问题,我以前在安装R软件包时从未遇到过这种问题

我还缺什么更一般的东西吗

编辑:整个udunits2安装如下所示:

Installing package into ‘/home/arvcondor/R/x86_64-pc-linux-gnu-library/3.4’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/udunits2_0.13.tar.gz'
Content type 'application/x-gzip' length 67182 bytes (65 KB)
==================================================
downloaded 65 KB

* installing *source* package ‘udunits2’ ...
** package ‘udunits2’ successfully unpacked and MD5 sums checked
checking for gcc... gcc -std=gnu99
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc -std=gnu99 accepts -g... yes
checking for gcc -std=gnu99 option to accept ISO C89... none needed
checking for XML_ParserCreate in -lexpat... no
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking udunits2.h usability... no
checking udunits2.h presence... no
checking for udunits2.h... no
checking for ut_read_xml in -ludunits2... no
-----Error: libudunits2.a not found-----
     If the udunits2 library is installed in a non-standard location,
     use --configure-args='--with-udunits2-lib=/usr/local/lib' for example,
     or --configure-args='--with-udunits2-include=/usr/include/udunits2'
     replacing paths with appropriate values for your installation.
     You can alternatively use the UDUNITS2_INCLUDE and UDUNITS2_LIB
     environment variables.
     If udunits2 is not installed, please install it.
     It is required for this package.
ERROR: configuration failed for package ‘udunits2’
* removing ‘/home/arvcondor/R/x86_64-pc-linux-gnu-library/3.4/udunits2’
Warning in install.packages :
  installation of package ‘udunits2’ had non-zero exit status

The downloaded source packages are in
    ‘/tmp/RtmpzhtzSg/downloaded_packages’

请提供有关错误的整个堆栈
udunits2
error必须包含更多信息。您需要为您的linux安装
udunits2
,第一次得到它时,没有意识到它完全取决于udunits2包。我现在已经安装好了,谢谢。可能是