An error occurred while loading the file. Please try again.
-
Grelot Frederic authored
- catnat dataset remplace gaspar dataset - passage en array pour garder les types d'aléa - estimate_catnat_freq incluse dans la librairie - population dataset pour la population - clc_color dataset pour les couleurs et label de clc - map_so_ii inclus population, gère les légendes pour les thèmes - dossier script hors librairie por garder la trace des mises à jour des données (doit aller dand floodam.data) 0 errors
| 0 warnings | 1 note Mais la note concerne le temps...9dbbbaeb
#' @title Find the current version of some data
#'
#' @param path character path to a directory where to find data
#' @param ... some extra parameters that will be passed to dir(path, ...)
#'
#' @return character path of the file corresponding the current version of the data
#'
#' @export
#'
#' @encoding UTF-8
#' @author Frédéric Grelot
#'
#' @examples
#'
#' \dontrun{
#' # To be added (soon)
#' }
current_version = function(path, ...) {
path = as.character(path)[1]
file.path(
path,
utils::head(sort(dir(path, ...), decreasing = TRUE), 1)
)
}