R/messydates-defunct.R

Defines functions as_uncertain as_approximate messyduration md_multiset md_union md_intersect is_element

Documented in as_approximate as_uncertain is_element md_intersect md_multiset md_union messyduration

#' Functions that have been renamed, superseded, or are no longer working
#'
#' `r lifecycle::badge("deprecated")`
#' Generally these functions have been superseded or renamed.
#' Upon using them, a message is provided directing the user to the new function.
#' However, at this stage of package development,
#' we generally clear older defunct functions at each minor release,
#' and so you are strongly encouraged to use the new functions/names/syntax
#' wherever possible and update your scripts accordingly.
#' @name defunct
#' @keywords internal
NULL

#' @describeIn defunct Deprecated on 2023-08-25.
#' @export
is_element <- function(.data) {
  .Deprecated(new = "messydates::is_subset()",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2023-08-25.
#' @export
md_intersect <- function(.data) {
  .Deprecated(new = "messydates::`%intersect%`()",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2023-08-25.
#' @export
md_union <- function(.data) {
  .Deprecated(new = "messydates::`%union%`()",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2023-08-25.
#' @export
md_multiset <- function(.data) {
  .Deprecated(new = "messydates::`+`()",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2023-08-25.
#' @export
messyduration <- function(.data) {
  .Deprecated(new = "make_messyduration",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2026-07-09.
#' @export
as_approximate <- function(x, component = NULL) {
  .Deprecated(new = "messydates::approximate()",
              package = "messydates")
}

#' @describeIn defunct Deprecated on 2026-07-09.
#' @export
as_uncertain <- function(x, component = NULL) {
  .Deprecated(new = "messydates::uncertain()",
              package = "messydates")
}

Try the messydates package in your browser

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

messydates documentation built on July 17, 2026, 1:07 a.m.