R/vctrs_list_of_pkg_ref.R

Defines functions pillar_shaft.list_of_pkg_ref

#' @importFrom pillar pillar_shaft new_pillar_shaft_simple
#' @method pillar_shaft list_of_pkg_ref
#' @export
pillar_shaft.list_of_pkg_ref <- function(x, ...) {
  out <- vapply(x, format, character(1L))
  pillar::new_pillar_shaft_simple(out, align = "left")
}
pharmaR/riskmetric documentation built on April 30, 2024, 5:14 p.m.