R/deprecated.R

Defines functions is_vector_s3

Documented in is_vector_s3

#' Deprecated functions
#' @keywords internal
#' @name deprecated
NULL

#' is_vector_s3()
#'
#' `is_vector_s3()` forwards to [vctrs::vec_is()].
#'
#' @section Lifecycle:
#' `is_vector_s3()` is soft-deprecated and no longer generic,
#'  use [vctrs::vec_is()] instead.
#'
#' @export
#' @rdname deprecated
is_vector_s3 <- function(x) {
  deprecate_soft("1.4.4", "pillar::is_vector_s3()", "vctrs::vec_is()")
  vec_is(x)
}

Try the pillar package in your browser

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

pillar documentation built on July 29, 2021, 9:06 a.m.