tests/test-cran_doom.R

library("repo.data")
cd <- cran_doom()
stopifnot(is.list(cd))
stopifnot(names(cd) == c("time_till_last", "last_archived", "npackages", "details"))
stopifnot(is.data.frame(cd$details))
stopifnot(names(cd$details) == c("Package", "Deadline", "type", "repo", "n_affected"))
wo_bioc <- nrow(cd$details)
stopifnot(as.logical(wo_bioc))
cd <- cran_doom(bioc = TRUE)
stopifnot(nrow(cd$details) >= wo_bioc)

Try the repo.data package in your browser

Any scripts or data that you put into this service are public.

repo.data documentation built on Sept. 15, 2025, 9:08 a.m.