R/update_pran.R

Defines functions old_pran new_pran update_pran

Documented in new_pran old_pran update_pran

#' Update PRAN packages
#'
#' Updates already installed packages from PRAN
#'
#' @export
#'
#' @examples
#'
#' \dontrun{
#' update_pran()
#' }
update_pran <- function() {
  utils::update.packages(repos = pran_down(), type = "source", ask = TRUE)
}

#' New PRAN packages
#'
#' List PRAN packages that are not already installed
#'
#' @export
#'
#' @examples
#'
#' \dontrun{
#' new_pran()
#' }
new_pran <- function() {
  utils::new.packages(repos = pran_down(), type = "source")
}

#' Old PRAN packages
#'
#' List PRAN packages for which a later version is available
#'
#' @export
#'
#' @examples
#'
#' \dontrun{
#' old_pran()
#' }
old_pran <- function() {
  utils::old.packages(repos = pran_down(), type = "source")
}
trekonom/devpran documentation built on Nov. 26, 2019, 12:16 a.m.