R Ubuntu Blog

A blog about using R in Ubuntu and maintaing packages for Ubuntu

Ubuntu CRAN reposirory: Replacing apt-key

Replacing apt-key on Ubuntu CRAN If you have used apt-key on Ubuntu (or Debian) recently, you may mave noticed a message along the lines of Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). The final Ubuntu release with apt-key will be Ubuntu 22.04. As the warning suggests, keyring files should be located in the /etc/apt/trusted.gpg.d/ directory. The first step is to download my .asc key file, which is an armored, ASCII version of my public key file.

R 4.0 Now Available

Ubuntu binaries for R 4.0, the newest release, are now available in the usual locations, with some caveats. As with previous transitions to major releases, 4.0 binaries are have their own PPA or in their own directory on CRAN. Launchpad PPA If you like to use Launchpad PPAs, the R 4.0 binaries can be found at RRutter 4.0. The recommended packages built against 4.0 can also be found here.

Cosmic Cuttlefish (18.10) on CRAN

R packages for Cosmic Cuttlefish (18.10) have been added to the RRutter3.5 PPA and therefore have been mirrored to CRAN. These are the base packages for R, plus the recommended packages as well as a couple of others (jags, ess, rpy2, and littler). Most of these are already available in the standard 18.10 repositories, but as packages are updated, I will update them for CRAN. Since the lifespan of Cosmic Cuttlefish is so short (support ends July 2019), I will not be creating a version of c2d4u for Cosmic.

November 18th c2d4u Update

86 new or updated packages added to c2d4u this weekend. The new CRAN Task View Missing Data, which was added last month. A number of packages require R 3.5, so the number of packages updated on the R 3.5 version of c2d4u is less. Also, the rstan package, and anything related are not available for Trusty. This is due to the need of the C++14 standard for rstan. If there are any suggestions on how to get this to build on Launchpad, let me know.

August 25th c2d4u Update

64 new or updated packages on c2d4u were uploaded on August 25th. Packages are listed below. Currently on the version 3.5 c2d4u PPA, there are 4059 packages for Bionic, 3674 for Xenial, and 3673 for Trusty. As always, if something fails to install or does not play well with other packages, please let me know. PPA for packages built against R 3.4.*: c2d4u PPA for packages built against R 3.

Changes to CRAN Ubuntu webpage regarding apt-secure key

Thanks to a couple of users of the Ubuntu page on the CRAN, I was recently alerted to a duplicate key on the keyserver.ubuntu.com website. If you search for my key using the short ID string, you will find two keys listed. One of the keys is mine, uid “Michael Rutter”. The other key, even though the date suggests otherwise, appears to be new. The uid is “Totally Legit Signing Key”.

c2d4u August 18th Update

On c2d4u, 58 packages were updated or added on August 18th. The list is below. As with many recent updates, a couple of packages require R 3.5. These packages are not being updated on the 3.4 c2d4u. I also updated ess on CRAN to the most recent version, which does not install. Dirk Eddelbuettel is uploading a new version that will hopefully fix things. PPA for packages built against R 3.

June 24th, 2018 c2d4u update

Weekly c2d4u update. 66 packages either updated or new. One more package, lfe, requiring R 3.5, therefore not available on c2d4u for R 3.4. Don’t forget to install an additional PPA in order to support the spatial packages: ubuntugis-stable. PPA for packages built against R 3.4.*: c2d4u PPA for packages built against R 3.5.*: c2d4u3.5 package r_version BDgraph 2.51 CodeDepends 0.6.0 CopulaREMADA 1.

June 17th, 2018 c2d4u update

Weekly c2d4u update. 101 packages either updated or new. The transition to R 3.5 is starting to be seen on CRAN, as some packages are now requiring the latest version. Of the packages listed below, piecewisesem and dae are not available on c2d4u, which is based on R 3.4. At some point, updates to that version of c2d4u will stop if too many pacakges are R 3.5 dependent. PPA for packages built against R 3.

June 11th, 2018 R 3.5.0 on Debian and Ubuntu: An Update

Overview R 3.5.0 was released a few weeks ago. As it changes some (important) internals, packages installed with a previous version of R have to be rebuilt. This was known and expected, and we took several measured steps to get R binaries to everybody without breakage. The question of but how do I upgrade without breaking my system was asked a few times, e.g., on the r-sig-debian list as well as in this StackOverflow question.