Can't install cowplot package

Hi guys, need some advice on installing cowplot. My enterprise is still using an older version of R (3.4.1), and I faced some difficulties of installing other packages when I was setting it up. However, I really just can't seem to install cowplot. I used:

install.packages("cowplot", repos="http://cran.r-project.org/")

and I got the following:

install.packages("cowplot", repos="http://cran.r-project.org/")
Installing package into ‘\C/Documents/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘cowplot’ is not available (for R version 3.4.1)

Any advice out there?

The current cowplot version depends on R >= 3.5.0. Previous versions where content with R >= 3.3.0. This changed here. So cowplot version 0.9.2 should work with R 3.4.1. A simple way to install a specfic version is to use the remotes::install_version function.

2 Likes

Thank you, managed to download the older version and it seems to work now. Thank you!

If your question's been answered (even by you!), would you mind choosing a solution? It helps other people see which questions still need help, or find solutions if they have similar problems. Here’s how to do it: