R/00_vyos_utils.R

Defines functions date_to_str_1 create_params_list

create_params_list <- function(dots) {
  dots$version <- packageVersion("Rapi")
  # get_current_package_vers()
  dots$cache_name <- create_cache_name_from_list(dots)
  dots
}

date_to_str_1 <- function(.date) {
  sprintf(
    "%s-%s-%s",
    lubridate::day(.date),
    lubridate::month(.date),
    lubridate::year(.date)
  )
}

Try the Rapi package in your browser

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

Rapi documentation built on May 29, 2024, 2:34 a.m.