Hi
I cannot install Flextable package after trying on two PC. The install dependencies checkbox was ticked. Here is what I get. Please could you tell me what to do.
install.packages("flextable", lib="C:/Program Files/R/R-3.4.3/library")
There is a binary version available but the source version is later:
binary source needs_compilation
flextable 0.5.2 0.5.4 FALSE
installing the source package ‘flextable’
trying URL 'https://cran.rstudio.com/src/contrib/flextable_0.5.4.tar.gz'
Content type 'application/x-gzip' length 294371 bytes (287 KB)
downloaded 287 KB
- installing source package 'flextable' ...
** package 'flextable' successfully unpacked and MD5 sums checked
** R
** inst
** preparing package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
there is no package called 'zip'
ERROR: lazy loading failed for package 'flextable' - removing 'C:/Program Files/R/R-3.4.3/library/flextable'
In R CMD INSTALL
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-34~1.3/bin/x64/R" CMD INSTALL -l "C:\Program Files\R\R-3.4.3\library" C:\Users\RUPERT~1.KEN\AppData\Local\Temp\RtmpAdaEQO/downloaded_packages/flextable_0.5.4.tar.gz' had status 1
Warning in install.packages :
installation of package ‘flextable’ had non-zero exit status