Verifies that both required imuGAP inputs
(observations, locations) exist in a directory under some
supported extension. Reports every missing input at once rather than failing
on the first.
Examples
dir <- tempfile("imurun_check_")
dir.create(dir)
for (n in c("observations", "locations", "target")) {
write.csv(data.frame(a = 1), file.path(dir, paste0(n, ".csv")),
row.names = FALSE)
}
check_all_inputs(dir)