When using the usms.xml file, without specifying the desired usms, the function stops
even if all usms names given in the usms.xml file exist as subdirectories.
If we use the same zip file as in issue #257
sim <- SticsRFiles::get_sim(workspace = workspace, usms_file = file.path(workspace, "usms.xml"))
✖ The usms "ICS_Aviron_SC_2021-2022", "ICS_Aviron_SC_2022-2023", "ICS_Bergamo_SC_2021-2022", "ICS_Bergamo_SC_2022-2023", "ICS_Flambo_SC_2021-2022", "ICS_Flambo_SC_2022-2023", "ICS_Titlis_SC_2021-2022", and "ICS_Titlis_SC_2022-2023" do not exist in the workspace!
ℹ Usms found in the workspace: "ICS_Bergamo-Aviron_IC_2021-2022", "ICS_Bergamo-Aviron_IC_2022-2023", "ICS_Bergamo-Flambo_IC_2021-2022", "ICS_Bergamo-Flambo_IC_2022-2023", "ICS_Titlis-Aviron_IC_2021-2022", "ICS_Titlis-Aviron_IC_2022-2023", "ICS_Titlis-Flambo_IC_2021-2022", and "ICS_Titlis-Flambo_IC_2022-2023"
Erreur dans get_file_from_usms(workspace = workspace, usms_path = usms_filepath, :
ICS_Aviron_SC_2021-2022ICS_Aviron_SC_2022-2023ICS_Bergamo_SC_2021-2022ICS_Bergamo_SC_2022-2023ICS_Bergamo-Aviron_IC_2021-2022ICS_Bergamo-Aviron_IC_2022-2023ICS_Bergamo-Flambo_IC_2021-2022ICS_Bergamo-Flambo_IC_2022-2023ICS_Flambo_SC_2021-2022ICS_Flambo_SC_2022-2023ICS_Titlis_SC_2021-2022ICS_Titlis_SC_2022-2023ICS_Titlis-Aviron_IC_2021-2022ICS_Titlis-Aviron_IC_2022-2023ICS_Titlis-Flambo_IC_2021-2022ICS_Titlis-Flambo_IC_2022-2023: do(es) not match usms
The behavior should be: only display a message if they are missing directories against the usms names present in the usms file and no message if not. But the process must go on in all cases.
When using the usms.xml file, without specifying the desired usms, the function stops
even if all usms names given in the usms.xml file exist as subdirectories.
If we use the same zip file as in issue #257
The behavior should be: only display a message if they are missing directories against the usms names present in the usms file and no message if not. But the process must go on in all cases.