# R packages not installed anymore

**URL:** <https://renku.discourse.group/t/r-packages-not-installed-anymore/245>\
**Category:** RenkuLab\
**Created:** [29 January 2021 17:12 UTC](https://renku.discourse.group/t/r-packages-not-installed-anymore/245 "2021-01-29T17:12:52Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [29 January 2021 17:12 UTC](https://renku.discourse.group/t/r-packages-not-installed-anymore/245/1 "2021-01-29T17:12:52Z")

</div>

Hello Renku team !

I logged in to my R/Bioconductor projects to find that I lost access to R packages installed from `install.R`.

For example:

> library(dplyr)  
> Error in library(dplyr) : there is no package called ‘dplyr’

I don’t understand what’s causing the issue, and I’m not sure as to when that happened, but most likely within the last two weeks.

What surprises me is that those packages are inaccessible in all Renku projects using them. I am worried that something went wrong at the Docker layer level…

I should mention that I am working on the EPFL-SV deployment of Renku.

Anyway, if there is a way to trigger a complete rebuild of the project from scratch I will try it.

Thanks !

Cyril Pulver

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [19 March 2021 15:08 UTC](https://renku.discourse.group/t/r-packages-not-installed-anymore/245/2 "2021-03-19T15:08:21Z")

</div>

Hi @bopekno - apologies that this question went unanswered - have you found a solution? If I had to guess I would say that the session probably didn’t start with the correct image.

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [8 April 2021 13:44 UTC](https://renku.discourse.group/t/r-packages-not-installed-anymore/245/3 "2021-04-08T13:44:42Z")

</div>

Hello @rrrrrok, in the end I changed strategy and install bioconductor from the install.R script. But I could not solve the issue with the official renku bionconductor image.

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [9 April 2021 07:24 UTC](https://renku.discourse.group/t/r-packages-not-installed-anymore/245/4 "2021-04-09T07:24:43Z")

</div>

Hi @bopekno, I just tried this with a new project using the bioc template and it seems to work fine. The `install.R` I am using is just:

```auto
install.packages("dplyr")

```

Then in RStudio:

```auto
Bioconductor version 3.12 (BiocManager 1.30.10), ?BiocManager::install for help
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

```

Can you check that the CI job passed without problems and the image was pushed? You find it if you go to GitLab for your project, then on the left go to CI/CD → jobs

![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/f2056a1883a8e5c8050f8b454bf9a41010e01997.png)

If that all looks fine and the image still looks like it doesn’t have the right dependencies installed, the wrong image might be used for some reason when you launch your environment.
