To avoid the error (which appears to be occurring because vroom seems to assume by default that a vector of files should all have the same number of columns), try using map or map_df, which will read each file in separately. The self-contained example below saves three versions of the built-in mtcars data frame, each with a different number of columns, reproduces the error you're getting, and then shows the map and map_df approaches.
library(tidyverse)
library(vroom)
# Write 3 files with varying number of columns
write_csv(mtcars[,-9], "f1.csv")
write_csv(mtcars[,-c(7:8)], "f2.csv")
write_csv(mtcars, "f3.csv")
# Get vector of file names
f = fs::dir_ls(glob="f*csv")
f
#> f1.csv f2.csv f3.csv
d1 = vroom(f)
#> Error: Files must all have 10 columns:
#> * File 2 has 9 columns
# Read each file separately into a list of 3 data frames
d2 = map(f, ~vroom(.x))
# [output messages deleted for brevity]
# Read each file and stack into a single data frame
d3 = map_df(f, ~vroom(.x))
# [output messages deleted for brevity]
Created on 2020-02-12 by the reprex package (v0.3.0)