Closed Constancies closed 2 months ago
I think we need to take the $(lsb_release -cs)
outside the double quotes. So
echo "deb [arch=amd64] https://r2u.stat.illinois.edu/ubuntu" $(lsb_release -cs) "main" \
> /etc/apt/sources.list.d/cranapt.list
is likely better. (And I should add a line that scripts in directory inst/scripts/ are available and tested.)
We actually say right before step 1:
We show the setup step by step for 'jammy' aka Ubuntu 22.04.
It also misssed "jammy-cran40" in the step for R binaries. So I decided to leave the steps at "jammy", but mention lsb_release -cs
explicitly just before. So thanks for the note, now addressed.
In Step 2 of the README's install process, this line points to the Jammy repo even though 24.04 is out and supported:
This can be solved by changing those lines to this, so that it will automatically detect the Ubuntu version: