colnames error while using DESeq2 package

library("DESeq2")
ddsHTSeq <-DESeqDataSetFromHTSeqCount(sampleTable = sampleTable, directory = directory, design = ~ condition)
ddsHTSeq

After loading the DESeq2 library I try to take my existing HTSeq-count file (generated elsewhere, not in RStudio) but I run into this error:

Error in colnames<-(*tmp*, value = sampleTable[, 1]) :
attempt to set 'colnames' on an object with less than two dimensions

I am still very new to using RStudio and have very generic understanding of working with R; and I don't even know where to begin to address this error. Any guidance/help would be greatly appreciated!