How to export a csv file when there is error for "arguments imply differing number of rows"

Hi all,

I am trying to export as a csv file a data frame but I have an error for arguments implying differing number of rows.
Any idea how to sort this out?

Error in (function (..., row.names = NULL, check.rows = FALSE, check.names = TRUE, :
arguments imply differing number of rows: 97, 26, 20, 90, 24, 25, 40, 9, 12, 6


To help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one: