allowing collecter<STRSXP> to collect a factor