Simple scripts called by sg-control to upgrade the software using apt.
# Download the key from the keyserver
sudo gpg --homedir /tmp --no-default-keyring --keyring ./sources/R.gpg \
--keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
# Create the repo .list file
echo "deb [signed-by=/usr/share/keyrings/R.gpg] https://cloud.r-project.org/bin/linux/ubuntu jammy-cran40/" > sources/R.list