changing repsim output to dataframe

giving strange errors with some downstream functions- possibly as it is
‘tbl_df’, ‘tbl’ as well as data.frame