-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
featurea feature request or enhancementa feature request or enhancement
Description
The pkgcache::meta_cache_list("SummarizedExperiment")$published currently returns a NULL date for Bioc packages
The date information is available under https://bioconductor.org/packages/3.17/bioc/VIEWS and can be parsed on the Date/Publication field. bioc::BiocPkgTools package may also be able to access the information
Considerations:
There could be an issue about which version from Bioconductor to use for the date. Possible workarounds can be implemented by defaulting to pkgcache::bioc_version() or as a parameter for meta_cache_list function
Simple sample code that retrieves publication date (without any caching)
sample_bioc_date <- \(package) {
uri <- url(glue::glue("https://bioconductor.org/packages/{pkgcache::bioc_version()}/bioc/VIEWS"))
data_raw <- data.frame(read.dcf(uri))
data_raw[data_raw$Package == package, "Date.Publication"]
}
sample_bioc_date("SummarizedExperiment")Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement