devcontainer-features
devcontainer-features copied to clipboard
[r-rig] `additionalVersions` option
They say it is an experimental option that has not been made public.
https://github.com/devcontainers/features/blob/74dd2710dc77b85d6ad72c4534f4c7d7f67b86b2/src/java/install.sh#L23-L25 https://github.com/devcontainers/features/blob/74dd2710dc77b85d6ad72c4534f4c7d7f67b86b2/src/node/install.sh#L15-L17 https://github.com/devcontainers/features/blob/74dd2710dc77b85d6ad72c4534f4c7d7f67b86b2/src/python/install.sh#L25-L27
Does this work or not? I tried it using the following settings in .devcontainer.json:
"ghcr.io/rocker-org/devcontainer-features/r-rig:1": {
"version": "4.2.3",
"ADDITIONALVERSIONS": "4.1.3",
"VSCODE_R_SUPPORT": "full",
"installDevTools": true,
"installREnv": true,
"installRMarkdown": true,
"installJupyterlab": false,
"installRadian": true
}
The codespace was set up without a bug, but I can't find R4.1.3. I don't know if that's because it isn't there or because I just don't know where it would be.
I typed in which R, which gives /usr/local/bin/R. When I say ls /usr/local/bin, I get the following:
R Rscript compose-switch devcontainer-info docker-compose-v1 git-cvsserver git-shell git-upload-pack helm minikube rig systemctl R-4.2.3 code composer docker-compose git git-receive-pack git-upload-archive gitk kubectl quarto scalar
I suppose you could just repeatedly add that feature to the .devcontainer.json if this doesn't work, with different versions each time. But I don't know if that leads to any problems.
@MiguelRodo Hi, this functionality has not yet been implemented.
Thanks for the info, @eitsupi!