R/genepop_internals.R

Defines functions .getDocDate

## to get the date NOT in the maintainer's French locale... 
.getDocDate <- function() {
  lct <- Sys.getlocale('LC_TIME') 
  Sys.setlocale('LC_TIME', 'C')
  dat <- format(Sys.time(), 'This documentation: %d %B %Y')
  Sys.setlocale('LC_TIME', lct)
  return(dat)
}

Try the genepop package in your browser

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

genepop documentation built on Jan. 22, 2023, 1:07 a.m.