R/proj_version.R

Defines functions proj_version

Documented in proj_version

#' Report PROJ library version
#'
#' This function returns NA if PROJ lib is not available.
#'
#' @return character string (major.minor.patch)
#' @export
#'
#' @examples
#' proj_version()
proj_version <- function() {
  .Call("C_proj_version", PACKAGE = "PROJ")
}

Try the PROJ package in your browser

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

PROJ documentation built on April 3, 2025, 9:23 p.m.