We need a bit more information to help you with this. When you say, "This is the data I'm using," what do you mean? What sort of data were you expecting to see?
If you can turn this into a reprex, it'll help us get to the bottom of this faster
Is import() a function you wrote, or one from some package you’re using? Based on the error message, it seems to be using read_xls() under the hood — if that’s readr::read_xls() then it doesn’t take an argument called stringsAsFactors. See here: https://readxl.tidyverse.org/reference/read_excel.html
(If none of my guesses were right then the best way to clear up the confusion will definitely be a reprex!)