R/gotm_version.R

Defines functions gotm_version

Documented in gotm_version

#'@title Return the current GOTM model version
#'
#'@description
#'Returns the current version of the GOTM model being used
#'
#'@keywords methods
#'
#'@author
#'Tadhg Moore
#'@examples
#' print(gotm_version())
#'
#'
#'@export
gotm_version <- function(){
  run_gotm(template_files(), verbose=FALSE, args='--version')
}
tadhg-moore/GOTMr documentation built on June 4, 2023, 1:52 p.m.