Не могу установить gganimate зависимости - PullRequest
0 голосов
/ 27 августа 2018

Я пытаюсь установить gganimate на R 3.4.4.Если я пытаюсь devtools::install_github('thomasp85/gganimate'), я получаю:

ERROR: dependencies ‘transformr’, ‘sf’, ‘gifski’ are not available for package ‘gganimate’

Попытка установить каждый из них приводит к цепочке неудачных установок зависимостей.sf говорит мне ERROR: configuration failed for package ‘units’.Units сообщает мне If udunits2 is not installed, please install it. 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’
...