We’re currently setting up an R based image and are installing a number of packages, including “rfishbase”. That package specifically had an update recently (3.1.9), but installing it in our image installs an older version (3.1.7).
We are using the most recent base image renku/renkulab-r:4.0.5-0.8.0
I found that the cran repository is fixed to an older version from earlier this year:
A bunch of questions to that:
Where is that repo specified?
Do you have any package caching in place or can I just overwrite the repo in the install.R file?
Thanks for reporting that. The repo is inherited from some of the Rocker images that we use to build Renku images. There is a way to specify the specific version numbers in R.
In your install.R file you can put this code:
require(devtools)
install_version("rfishbase", version = "3.1.9", repos = "http://cran.us.r-project.org")
which will pull the version you want. When I start a session in that project, I can call rfishbase with the right version: