R/utils.R
check_year.Rd
Check if the parameter year is valid
check_year(year)
year introduce by the user
stop if year is wrongly introduced