Remove extension from name
corename.Rd
`corename()` removes extension from name. Called in `aggregate_damage()` and `load_parameter()`.
Examples
x = "my_file.txt"
x = floodam.agri:::corename(x)
print(x)
#> [1] "my_file"
corename.Rd
`corename()` removes extension from name. Called in `aggregate_damage()` and `load_parameter()`.
x = "my_file.txt"
x = floodam.agri:::corename(x)
print(x)
#> [1] "my_file"