R/basics.R

Defines functions dclr_type dclr_size

#' @export
dclr_type <- function(x, ptype, arg = NULL) {
  dclr(x, ptype = ptype, arg = as_arg(arg, enexpr(x)))
}

#' @export
dclr_size <- function(x, size, arg = NULL) {
  dclr(x, size = size, arg = as_arg(arg, enexpr(x)))
}
DavisVaughan/declair documentation built on May 17, 2019, 8:20 p.m.