R/get_client_version.R

Defines functions .get_client_version

Documented in .get_client_version

#' Get the 'nixtlar' client version string
#' This is a private function of 'nixtlar'
#'
#' @return A character string of the form `"R-x.y.z"`, where `x.y.z` is the
#' installed 'nixtlar' package version (read from the DESCRIPTION file).
#' @export
#' @keywords internal
#' @examples
#' \dontrun{
#'   .get_client_version()
#' }
#'
.get_client_version <- function(){
  paste0("R-", as.character(utils::packageVersion("nixtlar")))
}

Try the nixtlar package in your browser

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

nixtlar documentation built on June 23, 2026, 9:06 a.m.