| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/deprecated.R, R/testthat.R |
| 3 |
\name{deprecated} |
| 4 |
\alias{deprecated} |
| 5 |
\alias{is_vector_s3} |
| 6 |
\alias{expect_known_display} |
| 7 |
\title{Deprecated functions} |
| 8 |
\usage{ |
| 9 |
is_vector_s3(x) |
| 10 |
|
| 11 |
expect_known_display(object, file, ..., width = 80L, crayon = TRUE) |
| 12 |
} |
| 13 |
\arguments{ |
| 14 |
\item{object}{An object to check.} |
| 15 |
|
| 16 |
\item{file}{File path where known value/output will be stored.} |
| 17 |
|
| 18 |
\item{...}{Unused.} |
| 19 |
|
| 20 |
\item{width}{The width of the output.} |
| 21 |
|
| 22 |
\item{crayon}{Color the output?} |
| 23 |
} |
| 24 |
\description{ |
| 25 |
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}} |
| 26 |
|
| 27 |
Use \code{\link[vctrs:vec_assert]{vctrs::vec_is()}} instead of \code{is_vector_s3()}. |
| 28 |
|
| 29 |
Use \code{\link[testthat:expect_snapshot]{testthat::expect_snapshot()}} instead of \code{expect_known_display()}. |
| 30 |
} |
| 31 |
\keyword{internal} |