I used pivot_wider to spread my data. However, there were duplicate rows (although I'm still not clear why), so the duplicates were stored in "list_columns." I'm now trying to identify which cells have been stored as lists, and I'd like to replace those values with just the first element in the list.
Example:
df <- tibble(
a = list(c("a", "b"), "c"),
b = list(1, 2),
c = c(11, 22)
)
When I view this df in RStudio View(df) the first cell in the a column shows up as c("a", "b") (see screenshot). 
I'm trying to identify the cells in my data.frame that are stored in that c() form, and then I want to replace those values with just the first element in the list. I've tried is.vector(), is.list(), but I can't seem to figure out what the actual class type is of the values stored in that way, or how to operate on them.