Hi there,
I cannot deploy my app to shinyapps.io anymore because one library dependecy "gert" cannot be installed on the server. I posted an issue here.
The error is
[2020-12-17T08:57:23.608444729+0000] Building R package: gert (1.0.2)
/mnt/packages/build /mnt
* installing to library ‘/opt/R/4.0.3/lib/R/library’
* installing *source* package ‘gert’ ...
** package ‘gert’ successfully unpacked and MD5 sums checked
** using staged installation
Using PKG_CFLAGS=
Using PKG_LIBS=-lgit2
----------------------------- ANTICONF -------------------------------
Configuration failed to find libgit2 library. Try installing:
* brew: libgit2 (MacOS)
* deb: libgit2-dev (Debian, Ubuntu, etc)
* rpm: libgit2-devel (Fedora, CentOS, RHEL)
If libgit2 is already installed, check that 'pkg-config' is in your
PATH and PKG_CONFIG_PATH contains a libgit2.pc file. If pkg-config
is unavailable you can set INCLUDE_DIR and LIB_DIR manually via:
R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...'
-------------------------- [ERROR MESSAGE] ---------------------------
<stdin>:1:18: fatal error: git2.h: No such file or directory
compilation terminated.
----------------------------------------------------------------------
ERROR: configuration failed for package ‘gert’
* removing ‘/opt/R/4.0.3/lib/R/library/gert’
My session info is
> sessionInfo()
R version 4.0.3 (2020-10-10)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 18363)
Matrix products: default
Random number generation:
RNG: Mersenne-Twister
Normal: Inversion
Sample: Rounding
locale:
[1] LC_COLLATE=English_New Zealand.1252 LC_CTYPE=English_New Zealand.1252 LC_MONETARY=English_New Zealand.1252
[4] LC_NUMERIC=C LC_TIME=English_New Zealand.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shinyWidgets_0.5.4 shinycssloaders_1.0.0 shinyjs_2.0.0 shinydashboard_0.7.1 DT_0.16 shiny_1.5.0
[7] ggdendro_0.1.22 webr_0.1.5 moonBook_0.2.3 ggplot2_3.3.2 tidyr_1.1.2 dplyr_1.0.2
[13] gert_1.0.2
loaded via a namespace (and not attached):
[1] nlme_3.1-149 RColorBrewer_1.1-2 insight_0.11.1 tools_4.0.3 backports_1.2.1 R6_2.5.0 sjlabelled_1.1.7
[8] colorspace_2.0-0 withr_2.3.0 tidyselect_1.1.0 mnormt_2.0.2 curl_4.3 compiler_4.0.3 cli_2.2.0
[15] flextable_0.6.1 xml2_1.3.2 officer_0.3.15 labeling_0.4.2 scales_1.1.1 lmtest_0.9-38 psych_2.0.12
[22] readr_1.4.0 askpass_1.1 systemfonts_0.3.2 stringr_1.4.0 digest_0.6.27 foreign_0.8-80 editData_0.1.2
[29] rmarkdown_2.6 rio_0.5.16 base64enc_0.1-3 pkgconfig_2.0.3 htmltools_0.5.0 fastmap_1.0.1 rvg_0.2.5
[36] htmlwidgets_1.5.3 rlang_0.4.9 readxl_1.3.1 rstudioapi_0.13 farver_2.0.3 generics_0.1.0 zoo_1.8-8
[43] jsonlite_1.7.2 crosstalk_1.1.0.1 zip_2.1.1 car_3.0-10 magrittr_2.0.1 credentials_1.3.0 fansi_0.4.1
[50] Rcpp_1.0.5 munsell_0.5.0 abind_1.4-5 gdtools_0.2.2 lifecycle_0.2.0 yaml_2.2.1 stringi_1.5.3
[57] carData_3.0-4 MASS_7.3-53 grid_4.0.3 parallel_4.0.3 promises_1.1.1 sjmisc_2.8.5 forcats_0.5.0
[64] crayon_1.3.4 miniUI_0.1.1.1 lattice_0.20-41 haven_2.3.1 hms_0.5.3 sys_3.4 tmvnsim_1.0-2
[71] knitr_1.30 pillar_1.4.7 ggpubr_0.4.0 uuid_0.1-4 ggsignif_0.6.0 glue_1.4.2 packrat_0.5.0
[78] evaluate_0.14 data.table_1.13.4 vcd_1.4-8 vctrs_0.3.5 tweenr_1.0.1 httpuv_1.5.4 cellranger_1.1.0
[85] gtable_0.3.0 openssl_1.4.3 purrr_0.3.4 polyclip_1.10-0 assertthat_0.2.1 xfun_0.19 ggforce_0.3.2
[92] openxlsx_4.2.3 mime_0.9 xtable_1.8-4 broom_0.7.3 rstatix_0.6.0 later_1.1.0.1 rsconnect_0.8.16
[99] tibble_3.0.4 rrtable_0.2.1 ellipsis_0.3.1 ztable_0.2.2 devEMF_4.0-2