R/write_unit_dictionary.R

Defines functions write_unit_dictionary

Documented in write_unit_dictionary

#' @title EML standard unit dictionary data frame
#'
#' @description
#' `r lifecycle::badge("deprecated")`'
#'  A convenience function to easily generate the EML standard unit dictionary
#'  as a data frame.
#'
#' @usage
#' write_unit_dictionary()

# .Deprecated(
#   new     = "EML::get_unitList",
#   package = "EML",
#   old     = as.character(sys.call(sys.parent()))[1L]
# )

write_unit_dictionary <- function() {

  .Deprecated(
    new     = "EML::get_unitList",
    package = "EML",
    old     = as.character(sys.call(sys.parent()))[1L]
  )

  # standardUnits <- EML::get_unitList()

  # return(standardUnits)

}
CAPLTER/capeml documentation built on Oct. 1, 2024, 7:38 a.m.