R/vignetteInfo.R

#' @title Backport of vignetteInfo for R < 3.6.0
#'
#' @description
#' See the original description in \code{tools::vignetteInfo}.
#'
#' @keywords internal
#' @rawNamespace if (getRversion() < "3.6.0") export(vignetteInfo)
#' @examples
#' # get function from namespace instead of possibly getting
#' # implementation shipped with recent R versions:
#' bp_vignetteInfo = getFromNamespace("vignetteInfo", "backports")
vignetteInfo <- getFromNamespace("vignetteInfo", ns = "tools")

Try the backports package in your browser

Any scripts or data that you put into this service are public.

backports documentation built on June 24, 2024, 5:24 p.m.