| pacs_lifeduration | R Documentation | 
packages life duration for certain versions.
pacs_lifeduration(
  pacs,
  versions,
  source = c("crandb", "loop_crandb", "loop_cran"),
  lib.loc = .libPaths(),
  repos = biocran_repos()
)
pacs | 
 
  | 
versions | 
 
  | 
source | 
 character one of   | 
lib.loc | 
 
  | 
repos | 
 
  | 
data.frame with two columns package name and life duration.
Results are cached for 30 minutes with memoise package.
The crandb R packages database is a part of METACRAN project, source:
Csárdi G, Salmon M (2022). pkgsearch: Search and Query CRAN R Packages. https://github.com/r-hub/pkgsearch, https://r-hub.github.io/pkgsearch/.
For source = "loop_cran"the function will scrap two CRAN URLS. Works only with CRAN packages.
Please as a courtesy to the R CRAN, don't overload their servers by constantly using this function.
## Not run: 
pacs::pacs_lifeduration(c("dplyr", "tidyr"), c("1.0.0", "1.2.0"))
pacs::pacs_lifeduration(c("dplyr", "tidyr"), c("1.0.0", "1.2.0"), source = "loop_cran")
# last versions
pacs::pacs_lifeduration(c("dplyr", "tidyr"), sapply(c("dplyr", "tidyr"), pacs::pac_last))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.