The command "sudo add-apt-repository -y "ppa:marutter/rrutter3.5"" failed and exited with 1 during

@jeroen and @jimhester

Now, I can’t install R on Travis CI.

How should I do?

I got the message shown below when testing imager package and scorepeak package.

Please file any issues at R - Travis CI Community
and mention @jeroen and @jimhester in the issue
Installing R
$ sudo add-apt-repository -y “ppa:marutter/rrutter3.5”
gpg: keyring /tmp/tmpkdzqrh8b/secring.gpg' created gpg: keyring /tmp/tmpkdzqrh8b/pubring.gpg’ created
gpg: requesting key B04C661B from hkp server keyserver.ubuntu.com
gpgkeys: key C9A7585B49D51698710F3A115E25F516B04C661B can’t be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
gpg: keyserver communications error: keyserver helper general error
gpg: keyserver communications error: unknown pubkey algorithm
gpg: keyserver receive failed: unknown pubkey algorithm
Failed to add key.
The command "sudo add-apt-repository -y “ppa:marutter/rrutter3.5"” failed and exited with 1 during .
Your build has been stopped.

The content of the file .travis.yml in scorepeak package is shown below.

language: r
sudo: false
chache: packages
r:

  • oldrel
  • release
  • devel

r_packages:

  • covr

after_success:

  • Rscript -e ‘library(covr); codecov()’

Now, installing R on Travis CI is successful.
I’m sorry for opening this topic.
I should have waited for 1 hour.

1 Like

Yup, it works again! @ShotaOchi: thanks for showing me I wasn’t the only one :+1: