Skip to content

CRAN R 4.0.0 for Ubuntu repos missing r-recommend dependency

9 messages · Greg Siemon, Dirk Eddelbuettel, Thierry Onkelinx +1 more

#
I noticed that R 4.0.0 is now available for ubuntu on CRAN. I attempted to
do a clean install on 18.04 using:

sudo apt install r-base

after adding

deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/

to /etc/apt/sources.list.

Unfortunately, apt reports that r-recommend is a dependency and it won't be
installed. Upon inspecting the R4.0 repos r-recommend is missing not only
for bionic but also for xenial and focal. It is exists for the 3.5 Repos
and seems to exist in the Debian R4.0 variants. Perhaps it was missed or is
it still syncing across?
#
Hi Greg,
On 28 April 2020 at 12:05, Greg Siemon wrote:
| I noticed that R 4.0.0 is now available for ubuntu on CRAN. I attempted to
| do a clean install on 18.04 using:
| 
| sudo apt install r-base
| 
| after adding
| 
| deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran40/
| 
| to /etc/apt/sources.list.
| 
| Unfortunately, apt reports that r-recommend is a dependency and it won't be
| installed. Upon inspecting the R4.0 repos r-recommend is missing not only
| for bionic but also for xenial and focal. It is exists for the 3.5 Repos
| and seems to exist in the Debian R4.0 variants. Perhaps it was missed or is
| it still syncing across?

Thanks for catching that. It is likely a simple oversight which Michael will
fix shortly as the package does get created.

In the meantime you can try to not install 'r-base' but just 'r-base-core' in
order avoid r-recommended. Or you could try to manually inject it from my ppa.
or even add that PPA for a day or two:

   https://launchpad.net/~edd/+archive/ubuntu/r-4.0

This PPA should probably not be used instead of the CRAN mirrored one run by
Michael but may help you in this current situation.

Dirk
#
Hi Dirk,

Thanks for the suggested workarounds. This was just a VM I had spun up so I
could test R4.0.0. I'm happy to wait for Michael to fix it when he has time.

Greg
On Tue, 28 Apr 2020 at 13:10, Dirk Eddelbuettel <edd at debian.org> wrote:

            

  
  
#
Greg,
On 28 April 2020 at 13:19, Greg Siemon wrote:
| Thanks for the suggested workarounds. This was just a VM I had spun up so I
| could test R4.0.0. I'm happy to wait for Michael to fix it when he has time.

It is already there now:
https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran40/r-recommended_4.0.0-1.1804.0_all.deb 

Dirk
#
Hi Dirk,

Could there be a typo on
https://cloud.r-project.org/bin/linux/ubuntu/README.html? The installation
entries mention cran35 for R 4.0. Should that be cran40?

Best regards,

Thierry


ir. Thierry Onkelinx
Statisticus / Statistician

Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK / RESEARCH INSTITUTE FOR NATURE AND
FOREST
Team Biometrie & Kwaliteitszorg / Team Biometrics & Quality Assurance
thierry.onkelinx at inbo.be
Havenlaan 88 bus 73, 1000 Brussel
www.inbo.be

///////////////////////////////////////////////////////////////////////////////////////////
To call in the statistician after the experiment is done may be no more
than asking him to perform a post-mortem examination: he may be able to say
what the experiment died of. ~ Sir Ronald Aylmer Fisher
The plural of anecdote is not data. ~ Roger Brinner
The combination of some data and an aching desire for an answer does not
ensure that a reasonable answer can be extracted from a given body of data.
~ John Tukey
///////////////////////////////////////////////////////////////////////////////////////////

<https://www.inbo.be>


Op di 28 apr. 2020 om 13:07 schreef Dirk Eddelbuettel <edd at debian.org>:

  
  
#
On 28 April 2020 at 13:31, Thierry Onkelinx wrote:
| Could there be a typo on
| https://cloud.r-project.org/bin/linux/ubuntu/README.html? The installation
| entries mention cran35 for R 4.0. Should that be cran40?

That's a question for Michael who authors this :)  Maybe you can follow up
with him?  Possibly send him a patch with suggested edits?

Dirk
#
Hi Dirk,

Thankyou for letting me know.  I'm up and running now.

Greg
On Tue, 28 Apr 2020 at 21:06, Dirk Eddelbuettel <edd at debian.org> wrote:

            

  
  
#
On 4/28/20 7:49 AM, Dirk Eddelbuettel wrote:
Responses to many things in this thread:

- Until I fully test the CRAN site, I strongly suggest using the PPAs 
that feed the CRAN site.

https://launchpad.net/~marutter/+archive/ubuntu/rrutter3.5

or

https://launchpad.net/~marutter/+archive/ubuntu/rrutter4.0

I prefer to use the PPAs personally, as one apt-add-repository command 
adds the repository and the gpg key with no chance of typos.  Easy to 
remove,  as well.

- For Xenial (16.04), I failed to build r-cran-nnet, which is why 
r-recommended won't install.  It is trying to use r-cran-nnet built 
against R 3.6, which is why it fails.  That has been fixed, and should 
be available after the next sync.

- I have updated the README, thanks for correction.  Again, change 
should appear on the next sync.

- The process of building the repository on CRAN has a lot of moving 
parts, mostly of my own doing.  When a new major version is released, it 
takes some time to create the repository and test it.  Part of the issue 
that the repository is synced twice a day, so it takes time for changes 
to propagate and to test it.  Different mirrors will have different 
contents, so it may work on cran.r-project.org but not on 
cloud.r-project.org for a couple of hours.

I try not to break things, but sometimes a small bug creeps in.  My 
apologizes for that.

When I have tested all the releases to ensure they all work, I will 
announce it on this list-serv and on twitter.  Hopefully, I will have 
this finished by the end of the day.

Michael
#
On 28 April 2020 at 09:55, Michael Rutter wrote:
| When I have tested all the releases to ensure they all work, I will 
| announce it on this list-serv and on twitter.  Hopefully, I will have 
| this finished by the end of the day.

Big big BIG thank you from all of us for all this!

Dirk