When I try doing install.packages("cowplot")
I get the following output:
Installing package into ‘/insertdirectoryname/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
trying URL 'http://cran.us.r-project.org/src/contrib/cowplot_1.1.1.tar.gz'
Content type 'application/x-gzip' length 1353271 bytes (1.3 MB)
==================================================
downloaded 1.3 MB
* installing *source* package ‘cowplot’ ...
** package ‘cowplot’ successfully unpacked and MD5 sums checked
** R
** inst
** byte-compile and prepare package for lazy loading
Error in loadNamespace(j <- i[[1L]], c(lib.loc, .libPaths()), versionCheck = vI[[j]]) :
object 'vI' not found
ERROR: lazy loading failed for package ‘cowplot’
* removing ‘/insertdirectoryname/R/x86_64-pc-linux-gnu-library/3.5/cowplot’
Warning in install.packages :
installation of package ‘cowplot’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpBoRcoy/downloaded_packages’
I have also tried install.packages("cowplot", dependencies = TRUE), which gives me a similar issue as well. I will include my session info below as well. It should be noted that I am prohibited from upgrading R or RStudio due to work related reasons (we use RStudio server), so I have to work with R version 3.5.1.
> sessionInfo()
R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: CentOS Linux 7 (Core)
Matrix products: default
BLAS: /opt/R/lib64/R/lib/libRblas.so
LAPACK: /opt/R/lib64/R/lib/libRlapack.so
Any help would be greatly appreciated :)