Update on 2021-02-09: I’ve archived 8 more packages. Post below updated
Code is often arranged in packages for any given language. Packages are often cataloged in a package registry of some kind: NPM for node, crates.io for Rust, etc. For R, that registry is either CRAN or Bioconductor (for the most part).
CRAN has the concept of an archived package. That is, the namespace
for a package (
foo) is still in the registry (and can not be used again),
but the package is archived - no longer gets updated and checks
I think are no longer performed.
We rarely hear the stories behind how software gets laid to rest. What are the most common reasons for software to be abandoned?
My CRAN archived packages
First, my archived CRAN packages:
library(pkgsearch) library(dplyr) library(data.table) library(tibble) x = cran_events(releases = FALSE, archivals = TRUE, limit = 4000L) res = lapply(x, function(w) tibble(pkg=w$name, maintainer=w$package$Maintainer)) df = rbindlist(res, use.names = TRUE, fill = TRUE) df = as_tibble(df) scott <- filter(df, grepl("chamberlain", maintainer, ignore.case = TRUE)) %>% select(pkg) %>% data.frame() scott #> pkg #> 1 originr #> 2 geoaxe #> 3 lawn #> 4 pleiades #> 5 geoops #> 6 rif #> 7 rbraries #> 8 ccafs #> 9 rjsonapi #> 10 rdpla #> 11 seaaroundus #> 12 crevents #> 13 etseed #> 14 rtimes #> 15 rsunlight #> 16 nneo #> 17 binomen #> 18 solr #> 19 enigma #> 20 alm #> 21 ropensnp #> 22 govdat #> 23 spoccutils #> 24 rgauges
I have 24 archived packages on CRAN.
The following are brief stories of why each package was archived on CRAN.
- spoccutils: was a package of utility functions that didn’t quite fit within the scope of another package spocc. It was renamed to mapr. I suppose I could have asked CRAN to change the name, hmmm
- rgauges: was a client for the Gaug.es website analytics API - we started the package to gather data on visitors to the rOpenSci website. Eventually we stopped using Gaug.es and then it didn’t make sense to maintain the package, so it was archived.
- alm: was a client for a generic article-level metrics web service framework called Lagotto. In the early days of rOpenSci we were quite engaged with the community of folks working on article-level metrics. If I remember correctly, Lagotto usage slowed down and wasn’t used much so I gave up on maintaining
- ropensnp: was a client for the service OpenSNP. There were other sources of SNP data that I thought would be nice to access all from one package; so a new package (rsnps) was created and incorporated functions for OpenSNP and
- solr: was a package client for the Apache Solr database. At some point it got a major overhual and I decided to change the package name to solrium.
- binomen: aim of the package was functions for creating taxonomic classes/objects and functions for manipulating taxonomic data, sort of like dplyr. Evolution of ideas in
binomengave way to a new package taxa, now maintained by Zach Foster.
- nneo: was a client for APIs for NEON data. At some point I stumbled upon someone else from NEON making essentially the same package, so I archived mine.
- etseed: was a package for interacting with the distributed key-value store etcd. I was on a kick at the time of making R packages for databases, and saw a missing package I thought. After getting familiar with etcd, I realized I would probably never use it myself, and further, it probably didn’t make sense to interact with etcd from R anyway.
- crevents: Crossref mints DOIs for scholarly articles (among other works). A neat service they started was collecting and making searchable the “events” on DOIs - that is, the links pointing to DOIs, e.g., from Twitter, etc. The service at some point became very unreliable (was often down), so the package was archived.
- seaaroundus: Seaaroundus maintains fisheries and fisheries-related data. I was helping maintain an R package for the API, but it was a difficult one to maintain, and most users simply sent emails requesting dumps of data anyway - so the package was archived.
- rdpla: The Digital Public Library of America is a very cool organization that is similar to Crossref in a way, in that they centralize metadata about “things”; metadata on museum collections for DPLA and scholarly works for Crossref. I figured many researchers would enjoy being able to easily get metadata from DPLA for research on museum collections. In the end not many people used the package.
- rjsonapi: JSON:API is a cool idea - a sort of specification for building APIs in JSON. REST APIs are incredibly variable - this is an attempto standardize it a bit. I thought perhaps JSON:API would be adopted widely and that an R client would be useful for consuming JSON:API services - however, I’ve seen only very few APIs using JSON:API.
- originr: The idea with
originroriginally was to centralize in one package tools for biologists to get data on “nativity” of species in their studies: are species X and Y native to A, B, and C countries. I was lucky to get a collaborator (Ignasi Bartomeus) to help on that package. The package simply was not used much at all, and the data sources used were very flaky, making for a buggy user experience.
- geoaxe: This package always had a very narrow scope. It was created to solve a problem in two widely used packages: rgbif and spocc. In both of those packages we needed to take user input of a Well-known text (WKT) string representing a polygon in which the user wanted to search for something in a remote data source. And with that WKT we would chop up the polygon into smaller polygons to be submitted in multiple (spatial) requests instead of one very large (spatial) request. I didn’t want to depend on the heavy
rgdaldepenency, so I cooked up
geoaxethat only used
geoaxelasted for many years, but there’s better tools out there now, so it was archived.
- geoops: This package was a follow on from
lawn, in exploring more GeoJSON focused work. I wanted to learn how to make an R package mostly out of C++, with just a thin layer of R on top. Like
geoopswas not used much at all as far as I could tell, maybe partly because it focused only on GeoJSON - but this was also during the rise of
sfand friends. I moved it to my own personal account just as a little C++ in R playground in case I want to brush up on that.
- pleiades: I don’t remember how or why this package started. It was a client for Pleiades (https://pleiades.stoa.org/home), a database of historical geographic information about the ancient world. It was used very, very little as far as I could tell - so was archived.
- rif: This package was started after a some exploration of what R work we (rOpenSci) could do in the neuroscience field. It was a client for the Neuroscience Information Framework (https://neuinfo.org/), a database of neuroscience information. Another package not used - so was archived.
- rbraries: This package started because I thought rOpenSci would make use of the metadata around R package downloads/etc. that https://libraries.io/ collected. We never ended up using the data - and no one seemed to use the package - so was archived.
- ccafs: A client for Climate Change, Agriculture, and Food Security (CCAFS) General Circulation Models (GCM) data (http://www.ccafs-climate.org/). All I could find for motivation for this package was an email with someone where they shared a few links to different sources of climate data - then apparently this package was born shortly thereafter. It wasn’t used much at all - so was archived.
The following four packages were all R clients for sources of government open data - see the organization rOpenGov for R packages on government data.
- govdat: was split into two packages (
- rsunlight: was a client for many APIs of the organization Sunlight Labs - part of the reason for archiving this package was the disintegration of Sunlight Labs, which made the previously sensible organization of many APIs into one R package not sensible anymore. Also, government data was considered out of scope for our work at rOpenSci.
- rtimes: was a client for a number of the government data APIs from the New York Times. One reason for abandoning this package was that NYT almost never responded to questions/feedback on their APIs. Another reason was the aforementioned focus of rOpenSci.
- enigma: was a client for the Enigma API - the company I think was first focused on making open government data easier to access - as well as data on companies. I didn’t really use the package at all though, and there wasn’t much usage of the package, so archived it.
As a summary of the lists above, a list of the major reasons each package was archived:
- Not used
- The fall of the GeoJSON-verse 1
- Bad/retired service
- Name change
- Evolution to new package
- Duplicated work
- Out of scope
geojsonsfis very successful so I think my projects were just crap I guess :) ↩