Maintaining a package on CRAN

Reasons why packages are archived

Abstract

Publishing a package on CRAN is often half the work of a maintainer, then comes the hardest part: maintaining it there. Many resources focus on getting the package published on CRAN and what it takes one maintainer to do so. They share common problems and how to solve them but they are not based on data or focused on maintaining the package on CRAN.

Recently, CRAN has open up some historical data about actions take with packages. These datasets contain the historic data of each action from the CRAN team in relation to published packages. With these datasets we will learn how often are packages updated and archived. Then, we will explore characteristics related to a package staying longer on CRAN and how they reacted to CRAN’s emails to update packages. Last, we will learn what are the common causes that require a package update or lead to them being archived.

With all this together we will learn what it takes to publish a package on CRAN, update it and keep it working for all users with the high quality R is known for. This will help reducing the friction between package developers and CRAN volunteers and keep publishing great packages.

Date
Jul 7, 2026 10:30 AM — 11:00 AM
Location
Warsaw

This is a presentation of this blog post with a bit more focus on new maintainers and to help maintainers how to keep the packages on CRAN. I used the analogy of a garden to explain the role and tasks that CRAN maintainers have regarding packages.

The session was hosted by Uwe Ligges who has reviewed many packages on CRAN.

Avatar
Lluís Revilla Sancho
Data scientist

Data scientist with interests in software quality, mostly R.

Related