Pretty much all in the title. The way the error message is printed to screen does not make it obvious that there is a pesky space.
e.g. :
Error: /work/gbioinfo/deepSeqRepos/raw_temp/srf_BSSE/3393F1-1_230217_A01563_0119_BHTFVGDRX2_GGAGGAAT-AACCGTTC_L001_R1_001.fastq.gz listed in /tungstenfs/scratch/ggrossha/smitalex/RProjects/Misc/samplesM.tsv does not exist
(notice the double space after the .gz)
Perhaps quick fix using stringr::str_trim(), or add quotes to printed filename?