| cran_doom | R Documentation |
Given the deadlines by the CRAN volunteers packages can be archived which can trigger some other packages to be archived. This code calculates how much time the chain reaction will go on if maintainer don't fix/update the packages.
cran_doom(which = "strong", bioc = FALSE)
which |
a character vector listing the types of
dependencies, a subset of
|
bioc |
Logical value if Bioconductor packages should be provided, (Requires internet connection). |
Packages on Suggested: field should
A list with multiple elements:
time_till_last: Time till last package is affected.
last_archived: the date of the last package that would be affected.
npackages: Numeric vector with the number of packages used.
details: A data.frame with information for each individual package: Name, date affected, affected directly, repository, times it is affected (by archival causing issues.)
Original code from: https://github.com/schochastics/cran-doomsday/blob/main/index.qmd
The raw source of the data is: tools::CRAN_package_db()
Other utilities:
cran_date(),
cran_snapshot(),
duplicated_alias(),
package_date(),
package_repos(),
repos_dependencies(),
update_dependencies()
cd <- cran_doom()
head(cd$details)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.