Get path without year in the file name
Examples
get_path_with_year(c("path/with/year2025", "path/without/year"))
#> [1] "path/with/year2025"
Get path without year in the file name
get_path_with_year(c("path/with/year2025", "path/without/year"))
#> [1] "path/with/year2025"