Как установить devtools и git2r внутри R? - PullRequest
0 голосов
/ 07 сентября 2018

Я не могу ни установить devtools , ни его зависимость git2r внутри R.

** testing if installed package can be loaded
Error: package or namespace load failed for ‘git2r’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/martin/R/x86_64-redhat-linux-gnu-library/3.5/git2r/libs/git2r.so':
  libssl.so.1.0.0: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/martin/R/x86_64-redhat-linux-gnu-library/3.5/git2r’
ERROR: dependency ‘git2r’ is not available for package ‘devtools’
* removing ‘/home/martin/R/x86_64-redhat-linux-gnu-library/3.5/devtools’

The downloaded source packages are in
        ‘/tmp/Rtmpd4MzAR/downloaded_packages’
Warning messages:
1: In install.packages("devtools", repos = "https://cran.uni-muenster.de/") :
  installation of package ‘git2r’ had non-zero exit status
2: In install.packages("devtools", repos = "https://cran.uni-muenster.de/") :
  installation of package ‘devtools’ had non-zero exit status

Я уже установил системные пакеты для Fedora 27:

  • Libcurl-разви
  • OpenSSL-разви
  • libssh2-разви
  • libgit2

В чем может быть причина проблемы установки *

Дополнительная информация:

   > sessionInfo()

    R version 3.5.0 (2018-04-23)
    Platform: x86_64-redhat-linux-gnu (64-bit)
    Running under: Fedora 27 (Cloud Edition)

    Matrix products: default
    BLAS/LAPACK: /usr/lib64/R/lib/libRblas.so

    locale:
     [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C
     [3] LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8
     [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
     [7] LC_PAPER=en_US.UTF-8       LC_NAME=C
     [9] LC_ADDRESS=C               LC_TELEPHONE=C
    [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

    attached base packages:
    [1] stats     graphics  grDevices utils     datasets  methods   base

    loaded via a namespace (and not attached):
    [1] compiler_3.5.0 tools_3.5.0
...