opensafely-core / r-docker

Docker image for running R scripts in OpenSAFELY
1 stars 3 forks source link

suggestion: policy for updating the version of R #45

Closed remlapmot closed 1 year ago

remlapmot commented 3 years ago

Have you thought about how often or when you will update the version of R within the Docker container?

I ask because R 4.1.0 is released today.

R sort of follows semantic versioning, so in that grammar this is a minor release, but in fact this version does bring some new syntax to the R language (native pipe and lambda functions). I don't need any of those features; but maybe this is worth thinking about.

bloodearnest commented 2 years ago

The rough plan would be a separte R 4.1 image that you would use like so in your project.yaml:

    run: r:4.1 analysis/action.R

And we may retag the current :latest docker image as r:4.0, perhaps

remlapmot commented 1 year ago

Closing as #123 makes progress towards this.