I just converted the Docker image to Singularity using
$ singularity build --sandbox afni-22.2.04.sbox docker://afni/afni_make_build
I was surprised to find that
$ singularity exec afni-22.2.04.sbox R --version
R version 3.4.4 (2018-03-15) – “Someone to Lean On”
R is currently at version 4.2.1, released 2022-06-23.
That seems quite old. Perhaps it could be updated? There are instructions for supplying a different Ubuntu sources location at
https://cran.r-project.org/bin/linux/ubuntu/fullREADME.html
for example,
deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/
to /etc/apt/sources.list.
Just thought I would suggest that as a possible improvement.
Thanks for considering this suggestion.