This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#' Get R package information from CRAN | |
#' | |
#' \code{get_pkg_info()} retrieves the description of a CRAN package; it is | |
#' adapted from \url{http://developer.r-project.org/CRAN/Scripts/depends.R}. | |
#' Results are cached per R session using the | |
#' \href{https://cran.r-project.org/web/packages/memoise/index.html}{memoise} | |
#' package. | |
#' | |
#' @param pkg Package name (as a string) | |
#' @param fields Package description fields (as a vector); it corresponds to |
NewerOlder